Skip to content

Fix: Solve test issues #160

Fix: Solve test issues

Fix: Solve test issues #160

Workflow file for this run

name: Test nix-shell
on:
push:
branches:
- '*'
jobs:
nix-shell:
strategy:
matrix:
os: [ macos-latest, ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
# Fetch the whole history for all tags and branches (required for aleph.__version__)
fetch-depth: 0
- name: Set up Nix
uses: cachix/install-nix-action@v27
with:
# Use channel nixos-23.11 for Linux and nixpkgs-23.11-darwin for macOS
nix_path: nixpkgs=channel:${{ matrix.os == 'macos-latest' && 'nixpkgs-24.05-darwin' || 'nixos-24.05' }}
- name: Run tests
run: nix-shell --run "pytest"