Skip to content

test ci change

test ci change #21

Workflow file for this run

name: test
on:
push:
pull_request:
schedule:
- cron: '0 16 * * *' # UTC 16:00 daily
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# TODO: re-enable aarch64-linux once github has native runner
# https://github.com/orgs/community/discussions/19197
system: [x86_64-linux]
version:
- nixpkgs: nixos-24.11
home-manager: release-24.11
- nixpkgs: nixos-unstable
home-manager: master
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:${{ matrix.version.nixpkgs }}
- name: create flake.lock
run: >
nix flake lock
--override-input quadlet-nix "path:$(pwd)"
--override-input nixpkgs 'github:NixOS/nixpkgs/${{ matrix.version.nixpkgs }}'
--override-input home-manager 'github:nix-community/home-manager/${{ matrix.version.home-manager }}'
--override-input test-config "path:$(pwd)/tests/${{ matrix.system }}"
./tests
- name: run tests
run: >
nix run github:Mic92/nix-fast-build
--
--skip-cached
--no-nom
--result-format junit
--result-file result.xml
--flake ./tests#checks
- name: report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: test
path: result.xml
reporter: java-junit