1
0
Fork 0

add names to github test workflow

This commit is contained in:
ibizaman 2023-12-25 19:45:21 -08:00 committed by Pierre Penninckx
parent bda5fee5fe
commit 24c9a07dd0

View file

@ -7,25 +7,27 @@ jobs:
tests: tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: Checkout repository
- uses: DeterminateSystems/nix-installer-action@main uses: actions/checkout@v3
with: - name: Install Nix
github-token: ${{ secrets.GITHUB_TOKEN }} uses: DeterminateSystems/nix-installer-action@main
extra-conf: "system-features = nixos-test benchmark big-parallel kvm" with:
- uses: cachix/cachix-action@v12 github-token: ${{ secrets.GITHUB_TOKEN }}
with: extra-conf: "system-features = nixos-test benchmark big-parallel kvm"
name: selfhostblocks - name: Setup Caching
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' uses: cachix/cachix-action@v12
- name: Run tests with:
run: | name: selfhostblocks
nix run github:Mic92/nix-fast-build -- \ authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
--skip-cached --no-nom \ - name: Run tests
--flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)" run: |
nix run github:Mic92/nix-fast-build -- \
- name: Test building docs --skip-cached --no-nom \
run: | --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)"
nix \ - name: Test building docs
--print-build-logs \ run: |
--option keep-going true \ nix \
--show-trace \ --print-build-logs \
build .#manualHtml --option keep-going true \
--show-trace \
build .#manualHtml