1
0
Fork 0
mirror of https://github.com/emacs-twist/org-babel.git synced 2024-12-14 11:07:30 +00:00
org-babel/.github/workflows/test.yml
Akira Komamura 9ae5e08fde ci: Reformat
2024-09-19 22:26:33 +09:00

25 lines
894 B
YAML

name: Test
on:
push:
paths:
- '**/*.nix'
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:nixos-unstable
install_url: https://nixos-nix-install-tests.cachix.org/serve/vij683ly7sl95nnhb67bdjjfabclr85m/install
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
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