Skip to content

Commit

Permalink
Test without xdist
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbean-bremen committed Mar 2, 2024
1 parent 92e289d commit bbd7bf1
Show file tree
Hide file tree
Showing 19 changed files with 20 additions and 3,413 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/performance.yml

This file was deleted.

19 changes: 7 additions & 12 deletions .github/workflows/pythontests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
python -m pip install -U pip # to ensure version > 20 to have cache dir
python -m pip install -U pip
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v4
Expand All @@ -35,15 +35,10 @@ jobs:
key: py${{ matrix.python-version }}-${{ matrix.os }}-pip
- name: Test environment setup
run: |
python -m pip install wheel
python -m pip install pytest pytest-cov tox
python -m pip install pytest==8.0.2
- name: Run tests
run: |
TOX_PYTHON_VERSION=$(if [[ ${{ matrix.python-version }} == pypy* ]]; then echo ${{ matrix.python-version }} | tr -d .-; else echo py${{ matrix.python-version }} | tr -d .-; fi)
COV_CMD=$(if [ ${{ matrix.python-version }} == 3.10 ]; then echo "--cov=./pytest_order/ --cov-report=xml"; else echo ; fi) tox -e $(tox -l | grep "$TOX_PYTHON_VERSION" | paste -sd "," -)
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
if: ${{ success() && matrix.python-version == 3.10 }}
with:
env_vars: OS
name: codecov-pytest-order
run: pytest -s
# - name: Run tests
# run: |
# TOX_PYTHON_VERSION=$(if [[ ${{ matrix.python-version }} == pypy* ]]; then echo ${{ matrix.python-version }} | tr -d .-; else echo py${{ matrix.python-version }} | tr -d .-; fi)
# COV_CMD=$(if [ ${{ matrix.python-version }} == 3.10 ]; then echo "--cov=./pytest_order/ --cov-report=xml"; else echo ; fi) tox -e $(tox -l | grep "$TOX_PYTHON_VERSION" | paste -sd "," -)
204 changes: 0 additions & 204 deletions tests/test_class_marks.py

This file was deleted.

0 comments on commit bbd7bf1

Please sign in to comment.