Skip to content

GH-491: Explictly set IN_NIX_SHELL to more closely mimic nix-shell execution #1011

GH-491: Explictly set IN_NIX_SHELL to more closely mimic nix-shell execution

GH-491: Explictly set IN_NIX_SHELL to more closely mimic nix-shell execution #1011

Workflow file for this run

name: "Test"
on:
pull_request:
push:
branches:
- main
- staging
- trying
jobs:
tests:
strategy:
matrix:
os: [ ubuntu-latest ]
# FIXME macos garbage currently collect also nix-shell that runs the test
#os: [ ubuntu-latest, macos-latest ]
variants: [ stable, latest, bash4 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
extra_nix_config: |
experimental-features = nix-command flakes
- run:
"nix run --accept-flake-config .#test-runner-${{ matrix.variants }}"