Skip to content

Commit

Permalink
ci: install deps and use pytest from path
Browse files Browse the repository at this point in the history
  • Loading branch information
karfau committed May 13, 2024
1 parent bbd1a65 commit 228774a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Test with pytest
if: always()
run: cd $GITHUB_WORKSPACE && ./pytest
- run: pip install -U pip
- run: pip install -r requirements.lock
- run: pytest
env:
PYTHONUNBUFFERED: 1

0 comments on commit 228774a

Please sign in to comment.