-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 871 Bytes
/
testing.yml
File metadata and controls
32 lines (29 loc) · 871 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
# SPDX-FileCopyrightText: 2024-2025 Caleb Depatie
#
# SPDX-License-Identifier: 0BSD
name: Testing Suite
permissions:
contents: read
on: [ push ]
jobs:
unit_test:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Setup Meson
run: nix develop --command make setup
- name: Build Programs
run: nix develop --command make build
- name: Run Tests
run: nix develop --command make local-test
- name: Publish Results
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
report_paths: '**build/meson-logs/*.junit.xml'
include_passed: true
detailed_summary: true