Skip to content

Commit

Permalink
ci(tests): split up benchmark and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
frgfm committed Aug 9, 2024
1 parent e079a44 commit accaff2
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,27 @@ jobs:
with:
name: coverage-reports
path: ./coverage.xml

benchmarks:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade uv
uv pip install --system -e ".[test]"
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pytest --codspeed tests/
Expand Down

0 comments on commit accaff2

Please sign in to comment.