Skip to content

Small features and more tests #1

Small features and more tests

Small features and more tests #1

Workflow file for this run

name: Test installation script
on:
push:
branches:
- "master"
pull_request:
branches:
- master
jobs:
unit-test:
name: Unit tests
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v27
- uses: nix-community/cache-nix-action@v5
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package*.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Run unit tests
run: nix develop -c task test-unit