Skip to content

don't rely on NIX_PATH #682

don't rely on NIX_PATH

don't rely on NIX_PATH #682

Workflow file for this run

name: "Test"
on:
repository_dispatch:
workflow_dispatch:
pull_request:
push:
branches:
- master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: nix build
- run: nix develop -c pytest -s .
build-flake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: List flake structure
run: nix flake show
- run: nix flake check -vL