-
Notifications
You must be signed in to change notification settings - Fork 405
40 lines (32 loc) · 886 Bytes
/
main.yml
File metadata and controls
40 lines (32 loc) · 886 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
39
40
name: ci
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Check available cgroups
run: |
mount | grep cgroup
- name: Build docker image
run: |
docker compose -p cms -f docker-compose.test.yml build testcms
- name: Run tests
run: |
docker compose -p cms -f docker-compose.test.yml run --rm testcms
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./codecov/unittests.xml
flags: unittests
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./codecov/functionaltests.xml
flags: functionaltests