-
Notifications
You must be signed in to change notification settings - Fork 1.6k
45 lines (40 loc) · 1.09 KB
/
unit-tests.yml
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
name: Unit tests
on:
workflow_dispatch:
pull_request:
branches:
- master
- dev
- bugfix
- release/**
- hotfix/**
jobs:
build-docker-containers:
strategy:
matrix:
runner: ["ubuntu-latest", "ubuntu-24.04-arm"] # we need to pass runner names instead of amd64/amd64
fail-fast: false
uses: ./.github/workflows/build-docker-images-for-testing.yml
secrets: inherit
with:
runner: ${{ matrix.runner }}
test-rest-framework:
strategy:
matrix:
runner: ["ubuntu-latest", "ubuntu-24.04-arm"]
fail-fast: false
needs: build-docker-containers
uses: ./.github/workflows/rest-framework-tests.yml
secrets: inherit
with:
runner: ${{ matrix.runner}}
# only run integration tests on ubuntu-latest (x64)
test-user-interface:
needs: build-docker-containers
uses: ./.github/workflows/integration-tests.yml
secrets: inherit
# only run k8s tests on ubuntu-latest (x64)
test-k8s:
needs: build-docker-containers
uses: ./.github/workflows/k8s-tests.yml
secrets: inherit