~vigoux/complementree.nvim

a5b7e9d1d52d1d3c049e785e52b4c58b5281fdea — Thomas Vigouroux 1 year, 11 months ago 14b90af
ci: move the sr.ht CI
2 files changed, 11 insertions(+), 28 deletions(-)

A .build.yml
D .github/workflows/tests.yml
A .build.yml => .build.yml +11 -0
@@ 0,0 1,11 @@
image: nixos/unstable
sources:
  - "https://git.sr.ht/~vigoux/complementree.nvim"
tasks:
  - ensure: |
      cd azy.nvim
      nix-shell --pure --run "make ensure"

  - test: |
      cd azy.nvim
      nix-shell --pure --run "make test"

D .github/workflows/tests.yml => .github/workflows/tests.yml +0 -28
@@ 1,28 0,0 @@
name: Tests

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - uses: cachix/install-nix-action@v15
      with:
        nix_path: nixpkgs=channel:nixos-unstable
        extra_nix_config: |
          access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}

    - name: Check teal files
      run: |
        nix-shell --pure --run "make ensure"

    - name: Run tests
      run: |
        nix-shell --pure --run "make test"