Workflows
This commit is contained in:
26
.github/workflows/test.yml
vendored
Normal file
26
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Run Unit-Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["*"] # Alle Branches
|
||||
tags: ["*"] # Alle Tags
|
||||
|
||||
jobs:
|
||||
test_frontend:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run Unit-Tests Frontend
|
||||
run: |
|
||||
cd client
|
||||
npm install
|
||||
npm run test
|
||||
test_backend:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run Unit-Tests Backend
|
||||
run: |
|
||||
cd api
|
||||
npm install
|
||||
npm run test
|
||||
Reference in New Issue
Block a user