-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (28 loc) · 1000 Bytes
/
tests.yml
File metadata and controls
38 lines (28 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: "10.0.x"
- name: Run Unit Tests
run: dotnet test PhantomDave.BankTracking.UnitTests/
- name: Run Integration Tests
run: dotnet test PhantomDave.BankTracking.IntegrationTests/
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "20"
- name: Install Dependencies
working-directory: frontend
run: npm ci
- name: Install Playwright
working-directory: frontend
run: npx playwright install --with-deps chromium
- name: Run E2E Tests
working-directory: frontend
run: npm run test:e2e