-
Notifications
You must be signed in to change notification settings - Fork 37
49 lines (47 loc) · 1.13 KB
/
tests.yaml
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
39
40
41
42
43
44
45
46
47
48
49
---
name: Run Tests
"on":
push:
branches:
- master
pull_request:
jobs:
api_tests:
name: Api Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: api
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Run tests
run: make test
frontend_tests:
name: Frontend Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v2
- name: Set up Node 20
uses: actions/setup-node@v2
with:
node-version: 20.x
- name: Run tests
run: make test
environment_tests:
name: Devenv Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install devcontainer cli
run: npm install -g @devcontainers/cli
- name: Build and start container
run: devcontainer up --workspace-folder .
- name: Test developer workflow
run: devcontainer exec --workspace-folder . .devcontainer/test_dev_env.sh