-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.17 KB
/
testcases.yml
File metadata and controls
42 lines (40 loc) · 1.17 KB
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
name: testcases
on:
push:
branches: [ develop, main ]
pull_request:
branches: [ develop, main ]
jobs:
tests:
name: 'running tests'
runs-on: 'ubuntu-24.04'
steps:
- name: checkout software
uses: actions/checkout@v2
with:
path: software
- name: 'refresh install'
run: |
sudo apt-get update --fix-missing
- name: 'install python3 coverage'
run: |
sudo apt-get install --fix-broken --ignore-missing python3-coverage
- name: 'install python3 pip'
run: |
sudo apt-get install --fix-broken --ignore-missing python3-pip
- name: 'install unittest-xml-reporting'
run: |
pip3 install unittest-xml-reporting
- name: 'make check (testsuite.py without coverage)'
run: |
make check -C software PYTHON=python3.12 || true
- name: 'find xml'
run: |
find . -name '*.xml'
- name: 'publish testresults'
uses: EnricoMi/publish-unit-test-result-action@v1
with:
commit: ${{ github.event.workflow_run.head_sha }}
files: '**/TEST-*.xml'
check_name: 'Unit tests without docker-based tests'
report_individual_runs: "true"