Add NixOS auto-login detection and integration tests #7
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Integration Tests | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: "0 0 * * 0" # Runs every Sunday at midnight UTC | |
| jobs: | |
| check-on-nix: | |
| name: "Check: ${{ matrix.check }}" | |
| runs-on: namespace-profile-pareto-linux | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| check: | |
| [ | |
| pwd-manager, | |
| firewall, | |
| screenlock, | |
| secureboot, | |
| luks, | |
| help, | |
| xfce, | |
| trayicon, | |
| autologin, | |
| ] | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - uses: ./.github/actions/devenv | |
| with: | |
| authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
| - run: chmod o+rx /home/runner | |
| name: Update /home/runner permissions so that Nix is happy | |
| - run: nix build .#checks.x86_64-linux.${{ matrix.check }} --print-build-logs | |
| env: | |
| NIX_PAGER: cat |