Skip to content

Commit

Permalink
config: #2 define testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianrbp committed Aug 4, 2024
1 parent b675348 commit ec7a051
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: push

jobs:
backend:
name: 'Rails API Tests'
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -25,6 +26,7 @@ jobs:
bin/rails test
frontend:
name: 'Vue Frontend Tests'
runs-on: ubuntu-latest
needs: backend # Ensure frontend tests run after backend tests
steps:
Expand Down Expand Up @@ -59,7 +61,7 @@ jobs:
# done

end-to-end:
name: 'Playwright Tests'
name: 'End to End Tests'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.39.0-jammy
Expand All @@ -80,5 +82,6 @@ jobs:
- name: Run Playwright tests
run: |
cd frontend
yarn test:e2e

0 comments on commit ec7a051

Please sign in to comment.