Skip to content

Commit

Permalink
fix,test: fetch origin/master in NixOS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Aug 8, 2024
1 parent a67615c commit 9208fa1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
- build-wheel
steps:
- uses: actions/checkout@v4
- run: git fetch origin master:origin/master
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
Expand All @@ -70,8 +71,6 @@ jobs:
cert_file=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
export NIX_SSL_CERT_FILE=$cert_file
pip install "${{needs.build-wheel.outputs.wheel-path}}[test]"
echo Git branches:
git branch -a
# Run tests in installed package to avoid plugin import issue:
pytest $(python -c "
import os, darker
Expand Down

0 comments on commit 9208fa1

Please sign in to comment.