Skip to content

Commit

Permalink
Better legibility of build nix action log
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Oct 10, 2023
1 parent fb7b4f7 commit bbc9a31
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/actions/build_nix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,22 @@ runs:
- name: Build
shell: ${{ inputs.shell }}
run: |
echo "#################################################################"
nix-env -f "<nixpkgs>" -iA bash
nix-build
- name: Test
- name: Unit/Step Tests
shell: ${{ inputs.shell }}
run: |
nix-env -f "<nixpkgs>" -iA bash
echo "#################################################################"
nix-shell --run "pytest --all-steps"
- name: Smoke Test
shell: ${{ inputs.shell }}
run: |
echo "#################################################################"
nix-shell --run "openlane --smoke-test"
- name: Push
shell: ${{ inputs.shell }}
if: ${{ inputs.cachix_token != '' }}
run: |
echo "#################################################################"
nix-build | cachix push openlane

0 comments on commit bbc9a31

Please sign in to comment.