Skip to content

Commit

Permalink
Use just recipes in GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenMaude committed Aug 17, 2023
1 parent 5d8cbc2 commit aa47996
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test_runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ jobs:
- name: Install deps
run: |
just devenv
- name: Run all pre-commit checks
- name: Check files
run: |
source ${{ github.workspace }}/venv/bin/activate
pre-commit run --all-files
just check
test:
name: Run test suite
Expand All @@ -45,8 +44,7 @@ jobs:
run: docker-compose up -d mssql trino
- name: Run tests
run: |
source ${{ github.workspace }}/venv/bin/activate
PYTHONPATH=. pytest -vvv tests/
PYTHONPATH=. just test -vvv tests/
docker-tests:
name: Test docker build
Expand Down

0 comments on commit aa47996

Please sign in to comment.