Skip to content

Test

Test #15

Workflow file for this run

name: Test
on:
push:
paths:
- '**/*.nix'
workflow_dispatch:
jobs:
check:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ strategy.matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V28
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Run tests
run: nix-instantiate --eval --strict test/test.nix
- name: Test parameter parsing
run: nix-instantiate --eval --strict test/testParams.nix
- name: Check the derivation
run: nix flake check --override-input org-babel ..
working-directory: test