From 8bb83e4c699201c98f04f10093712fef2f436986 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Fri, 22 Apr 2022 19:14:19 +1200 Subject: [PATCH] Disable nix-shell based checks We are essentially testing the same thing in the Flake check, the difference is in the nix-shell vs `nix develop` invocation. I will admit (even though this is my making) that it's a bit silly to essentially test the same thing twice. --- .github/workflows/test-develop-classic.yml | 21 --------------------- .github/workflows/test-develop-flakes.yml | 2 +- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 .github/workflows/test-develop-classic.yml diff --git a/.github/workflows/test-develop-classic.yml b/.github/workflows/test-develop-classic.yml deleted file mode 100644 index 22b2f63..0000000 --- a/.github/workflows/test-develop-classic.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: "Development workflow - nix-shell" -on: - pull_request: - push: - branches: - - main -jobs: - tests: - strategy: - matrix: - os: [ ubuntu-latest, macos-latest ] - runs-on: ${{ matrix.os }} - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v17 - with: - nix_path: nixpkgs=channel:nixos-unstable - - name: Build - run: nix-shell --run 'meson build && cd build && ninja' - - name: Run tests - run: nix-shell --run 'pytest ./tests' diff --git a/.github/workflows/test-develop-flakes.yml b/.github/workflows/test-develop-flakes.yml index 243eb24..6a8d714 100644 --- a/.github/workflows/test-develop-flakes.yml +++ b/.github/workflows/test-develop-flakes.yml @@ -1,4 +1,4 @@ -name: "Development workflow - flakes" +name: "Development workflow" on: pull_request: push: