Skip to content

Commit

Permalink
ci: add manual tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RaczeQ committed Apr 15, 2024
1 parent b17c096 commit 996d21b
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/manual_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,7 @@ jobs:
run: pip install pdm
- name: Generate lock with newest dependencies
run: pdm lock --lockfile pdm.newest.lock --strategy no_cross_platform
- name: Export requirements file
run: pdm export -G test -f requirements -o requirements.newest.txt --lockfile pdm.newest.lock
- name: Install srai
run: |
pdm build -v -d dist
pip install 'srai[all] @ file://'"$(pwd)/$(find dist -name '*.whl')" --upgrade
- name: Install tests dependencies
run: pip install --no-deps -r requirements.newest.txt
- name: Install srai and tests dependencies
run: pdm install --lockfile pdm.newest.lock -dG:all
- name: Run tests with pytest
run: pytest -v --durations=20 tests
run: pdm run pytest -v --durations=20 tests

0 comments on commit 996d21b

Please sign in to comment.