0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

nix: introduce tests

Introduce set of tests based on NixOS test framework.
This commit is contained in:
Yury Shvedov
2025-03-09 16:13:18 +03:00
parent d45af61f82
commit 30847e331a
6 changed files with 218 additions and 9 deletions

View File

@@ -101,3 +101,20 @@ jobs:
- name: Build yandex-music without flakes binaries
run: nix build --impure .#yandex-music-noflakes
nix-test:
runs-on: ubuntu-latest
env:
NIXPKGS_ALLOW_UNFREE: 1
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ (inputs.ref || '') }}
- name: Install nix
uses: cachix/install-nix-action@v22
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Run NixOS tests
run: nix build --impure .#tests