Skip to content

Commit eeb6c08

Browse files
committed
chore(ci): Run singularity tests with tox
1 parent 2e32e19 commit eeb6c08

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.github/workflows/ci-cd.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,18 +121,16 @@ jobs:
121121
uses: actions/setup-python@v5
122122
with:
123123
python-version: ${{ matrix.python-version }}
124-
- name: Update build tools
125-
run: python -m pip install --upgrade pip
126-
- name: Checkout Pydra repo
127-
uses: actions/checkout@v4
128-
with:
129-
repository: ${{ github.repository }}
130-
- name: Fetch tags
131-
run: git fetch --prune --unshallow
132-
- name: Install pydra (test)
133-
run: pip install -e ".[test]"
134-
- name: Pytest
135-
run: pytest pydra/environments/tests/test_singularity.py pydra/environments/tests/test_environments.py
124+
- name: Install tox
125+
run: |
126+
uv tool install tox --with=tox-uv --with=tox-gh-actions
127+
- name: Show tox config
128+
run: tox c
129+
- name: Run tox
130+
# Run test files with singularity tests; re-add the overridable "-n auto"
131+
run: |
132+
tox -v --exit-and-dump-after 1200 -- -n auto \
133+
pydra/environments/tests/test_singularity.py pydra/environments/tests/test_environments.py
136134
- name: Upload coverage to Codecov
137135
uses: codecov/codecov-action@v5
138136
with:

0 commit comments

Comments
 (0)