Skip to content

Force remote uninstall (2) #121

Force remote uninstall (2)

Force remote uninstall (2) #121

Workflow file for this run

# Copied from https://github.com/kclejeune/system/blob/master/.github/workflows/build.yml. Modified.
name: 'system build'
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@v4
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix flake check
- name: Run Nix tests
run: |
cd tests/
result=$(nix eval --impure --expr 'import ./ref-test.nix {}')
if [ "$result" != "[ ]" ]; then
echo "Test failed: Expected [], but got $result"
exit 1
fi
shell: bash