-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 997 Bytes
/
build.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
name: Ubuntu
on: push
permissions:
contents: read
actions: read
checks: write
jobs:
project-test:
name: project test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
- name: install deps
run: sudo apt-get update && sudo apt-get install -y libc6-dbg linux-tools-common linux-tools-$(uname -r)
# run: sudo apt-get update && sudo apt-get install -y libc6-dbg linux-tools-generic && sudo rm /usr/bin/perf && sudo ln -s /usr/lib/linux-tools/5.15.0-89-generic/perf /usr/bin/perf
- name: run
run: pixi run all
- name: test summary
uses: test-summary/action@v2
with:
paths: "build/test/*.xml"
- name: test report
uses: dorny/test-reporter@v1
with:
name: unit test
path: "build/test/*.xml"
reporter: jest-junit
- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: my-artifact
path: gcovr