1
0
Fork 0
mirror of https://github.com/emacs-twist/org-babel.git synced 2025-03-13 20:30:04 +00:00

chore: Add CI tests

This commit is contained in:
Akira Komamura 2021-12-03 23:02:15 +09:00
parent 27cd6241bd
commit 5824140b2b

21
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Test
on:
push:
paths:
- '**/*.nix'
jobs:
check:
runs-on: ubuntu-latest
steps:
steps:
- uses: actions/checkout@v2.4.0
- uses: cachix/install-nix-action@v16
with:
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