ci: fix acceptance workflow

This commit is contained in:
Michael Hoffmann
2023-04-09 14:13:30 +02:00
parent 3cf33b40d4
commit becebebd35
2 changed files with 17 additions and 4 deletions

View File

@@ -6,11 +6,21 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: nixbuild/nix-quick-install-action@v5 - uses: cachix/install-nix-action@v14.1
- run: nix-shell --run 'tree-sitter test' with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: dx-oss/nix-shell-action@v11
with:
file: shell.nix
script: tree-sitter test
acceptance: acceptance:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: nixbuild/nix-quick-install-action@v5 - uses: cachix/install-nix-action@v14.1
- run: nix-shell --run 'tree-sitter parse --quiet --stat example/real_world_stuff/*/*' with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: dx-oss/nix-shell-action@v11
with:
file: shell.nix
script: tree-sitter parse --quiet --stat example/real_world_stuff/*/*

View File

@@ -6,6 +6,9 @@ feature
* add dialects so we can have different queries in `nvim-treesitter` * add dialects so we can have different queries in `nvim-treesitter`
* fix structure of comments in block bodies * fix structure of comments in block bodies
fix:
* fix ci acceptance workflow
housekeeping: housekeeping:
* reformat using LSPs, ditch editorconfig * reformat using LSPs, ditch editorconfig