Skip to content

Commit

Permalink
fix poe in github actions?
Browse files Browse the repository at this point in the history
  • Loading branch information
RuslanUC committed Oct 22, 2024
1 parent 023fe43 commit 515d02e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,23 @@ jobs:
- name: Setup database
run: |
poe migrate
poetry run poe migrate
env:
YEPCORD_CONFIG: .github/settings_test.py
DB_TYPE: ${{ matrix.database }}
KEY: ${{ secrets.KEY }}

- name: Run test suite for core
run: |
poe test tests/test_core.py
poetry run poe test tests/test_core.py
env:
DB_TYPE: ${{ matrix.database }}
KEY: ${{ secrets.KEY }}
YEPCORD_CONFIG: .github/settings_test.py

- name: Run test suite for http api
run: |
poe test --cov=yepcord/rest_api--cov=yepcord/remote_auth tests/api/
poetry run poe test --cov=yepcord/rest_api--cov=yepcord/remote_auth tests/api/
env:
DB_TYPE: ${{ matrix.database }}
KEY: ${{ secrets.KEY }}
Expand All @@ -83,7 +83,7 @@ jobs:
- name: Run test suite for cdn/storage
run: |
mkdir -p tests/files/yepcord-test
poe test --cov=yepcord/cdn tests/cdn/
poetry run poe test --cov=yepcord/cdn tests/cdn/
env:
DB_TYPE: ${{ matrix.database }}
KEY: ${{ secrets.KEY }}
Expand Down

0 comments on commit 515d02e

Please sign in to comment.