Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
Comment thread
PhantomDave marked this conversation as resolved.
Outdated

- name: Setup .NET
uses: actions/setup-dotnet@v3
Comment thread
PhantomDave marked this conversation as resolved.
Outdated
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"
Comment thread
PhantomDave marked this conversation as resolved.
Outdated

- name: Install Dependencies
working-directory: frontend
run: npm ci

- name: Install Playwright
working-directory: frontend
run: npx playwright install --with-deps chromium

Comment thread
PhantomDave marked this conversation as resolved.
Outdated
- name: Run E2E Tests
working-directory: frontend
run: npm run test:e2e
Loading