-
-
Notifications
You must be signed in to change notification settings - Fork 15
33 lines (30 loc) · 1008 Bytes
/
test_avian.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
name: Test Avian
on:
workflow_dispatch:
pull_request:
branches: [ "master", "dev" ]
env:
CARGO_TERM_COLOR: always
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository code.
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Install alsalib headers
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
- uses: taiki-e/install-action@nextest
- name: Test with nextest
run: cargo nextest run --no-default-features --features "avian" --test avian --profile ci
- name: Publish Test Report
uses: mikepenz/action-junit-report@v5
if: success() || failure()
with:
report_paths: 'target/nextest/ci/junit.xml'
include_passed: true
job_summary: true
detailed_summary: true
comment: true
group_suite: true
check_name: Avian Test Report