Skip to content

Commit

Permalink
Install pytest.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktlim committed Mar 14, 2024
1 parent c3b8906 commit ef0ce08
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,17 @@ jobs:

- name: Install dependencies
run: |
pip install -r requirements.txt
pip install uv
uv pip install --system -r requirements.txt
uv pip install --system pytest pytest-xdist pytest-cov
- name: Build and install
run: |
python -m pip install --no-deps -v -e .
uv pip install --system --no-deps -v -e .
- name: Run tests
run: |
pytest -r a -v -n 3 --open-files --cov=tests --cov-report=xml --cov-report=term --cov-branch
pytest -r a -v -n 3 --cov=tests --cov-report=xml --cov-report=term --cov-branch
- name: Upload coverage to codecov
uses: codecov/codecov-action@v2
Expand Down

0 comments on commit ef0ce08

Please sign in to comment.