mirror of
https://github.com/emacs-twist/org-babel.git
synced 2025-03-05 08:17:05 +00:00
ci: Reformat
This commit is contained in:
parent
ec71fec7ec
commit
9ae5e08fde
1 changed files with 16 additions and 18 deletions
34
.github/workflows/test.yml
vendored
34
.github/workflows/test.yml
vendored
|
@ -1,27 +1,25 @@
|
|||
name: Test
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**/*.nix'
|
||||
- '**/*.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
|
||||
- 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
|
||||
|
|
Loading…
Add table
Reference in a new issue