Skip to content

Commit

Permalink
use pytests
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Jul 21, 2024
1 parent 99777c2 commit 50c5529
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
with:
python-version: '3.9' # specify the Python version you need

- name: Install Poetry
- name: Install dependencies
run: |
curl -sSL https://install.python-poetry.org | python3 -
export PATH="$HOME/.local/bin:$PATH"
python -m pip install --upgrade pip
pip install .
- name: Install dependencies
- name: Install pytest
run: |
poetry install
pip install pytest
- name: Run tests
run: |
poetry run pytest tests/
pytest tests/
- name: Upload pytest results
if: always()
Expand Down

0 comments on commit 50c5529

Please sign in to comment.