Skip to content

Commit

Permalink
workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arturtoshev committed Jan 2, 2024
1 parent 121443d commit 982290b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Tests
on:
push:
branches: [ "unit_tests" ]
pull_request:
branches: [ "main" ]
# pull_request:
# branches: [ "main" ]

permissions:
contents: read
Expand All @@ -27,11 +27,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.in-project false
poetry config virtualenvs.path ~/.virtualenvs
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
run: |
pytest
.venv/bin/pytest

0 comments on commit 982290b

Please sign in to comment.