Skip to content

Commit

Permalink
chore: add a CI configuration with pytest-benchmark installed
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Nov 10, 2022
1 parent b6ccadb commit a68af15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
matrix:
config:
- headless
- pytest-benchmark
- valgrind
python-version:
- "3.7"
Expand All @@ -38,10 +39,13 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: "${{ matrix.python-version }}"
- if: matrix.config == 'valgrind'
- if: matrix.config == 'valgrind' || matrix.config == 'pytest-benchmark'
name: Install valgrind
run: sudo apt-get install valgrind -y
- name: Install dependencies
run: pip install .[dev]
- if: matrix.config == 'pytest-benchmark'
name: Install pytest-benchmark to test compatibility
run: pip install pytest-benchmark~=4.0.0 py
- name: Run tests
run: pytest

0 comments on commit a68af15

Please # to comment.