Skip to content

Commit e8bae11

Browse files
committed
fix(CI): adding CI tests-develop on changing content of develop folder
1 parent d11bdc6 commit e8bae11

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Testing Developmental Scripts
2+
3+
push:
4+
branches: [main]
5+
paths:
6+
- "develop/**"
7+
- "tests/develop/**"
8+
- "tox.ini"
9+
- "pyproject.toml"
10+
- "MANIFEST.in"
11+
pull_request_target:
12+
branches: [main]
13+
paths:
14+
- "develop/**"
15+
- "tests/develop/**"
16+
- "tox.ini"
17+
- "pyproject.toml"
18+
- "MANIFEST.in"
19+
20+
permissions:
21+
contents: read
22+
23+
jobs:
24+
tests:
25+
if: github.repository == 'NMRLipids/FAIRMD_lipids'
26+
runs-on: ${{ matrix.os }}
27+
name: ${{ matrix.os }} / Python ${{ matrix.python-version }}
28+
strategy:
29+
matrix:
30+
include:
31+
- os: ubuntu-24.04
32+
python-version: "3.10"
33+
- os: ubuntu-24.04
34+
python-version: "3.13"
35+
steps:
36+
- uses: actions/checkout@v6
37+
with:
38+
fetch-depth: 0
39+
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
40+
ref: ${{ github.event.pull_request.head.sha || github.ref }}
41+
42+
- name: Set up Python ${{ matrix.python-version }}
43+
uses: actions/setup-python@v6
44+
with:
45+
python-version: ${{ matrix.python-version }}
46+
check-latest: true
47+
48+
- run: python -m pip install tox
49+
50+
- name: run Python tests
51+
run: tox -e tests-develop
52+

0 commit comments

Comments
 (0)