Skip to content

Commit

Permalink
Separate CI job for functional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rebkwok committed Jan 19, 2024
1 parent 194bd4d commit 8a4b81c
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@ jobs:
install-just: true
- name: Set default environment variables
run: cp dotenv-sample .env
- name: Run tests
run: |
just test-all
- name: Run tests (excluding functional)
run: just test-all

test-functional:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: "opensafely-core/setup-action@v1"
with:
python-version: "3.11"
install-just: true
- name: Install playwright browsers with dependencies
run: just playwright-install --with-deps
- name: Run functional tests
run: just test-functional

0 comments on commit 8a4b81c

Please sign in to comment.