Skip to content

Commit

Permalink
fix(kurtosis): output artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
tosettil-polimi committed Nov 15, 2024
1 parent dfb5e4c commit c949afb
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/test-kurtosis-assertoor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,31 +186,28 @@ jobs:
- name: Run Kurtosis + assertoor tests
id: kurtosis-test
continue-on-error: true
uses: ethpandaops/kurtosis-assertoor-github-action@v1
with:
enclave_name: "kurtosis-run-${{ github.run_id }}"
ethereum_package_args: "./kurtosis_config.yaml"
#kurtosis_extra_args: --verbosity detailed --cli-log-level trace
enclave_dump: false

- name: Save job output
if: always()
shell: bash
env:
KURTOSIS_EXTRA_ARGS: # --verbosity detailed --cli-log-level trace
run: |
echo "::group::Kurtosis Test Output"
echo "${{ toJSON(steps.kurtosis-test.outputs) }}" > logs/kurtosis-outputs.json
echo "::endgroup::"
kurtosis-assertoor-github-action \
--enclave-name "kurtosis-run-${{ github.run_id }}" \
--ethereum-package-args "./kurtosis_config.yaml" \
--enclave-dump false \
$KURTOSIS_EXTRA_ARGS \
2>&1 | tee logs/kurtosis-test-output.log
- name: Save Kurtosis test logs
if: always()
uses: actions/upload-artifact@v4
with:
name: kurtosis-test-logs
path: |
logs/kurtosis-outputs.json
logs/kurtosis-test-output.log
./**/*.log
kurtosis-logs/**
retention-days: 14

- name: Check test result
if: steps.kurtosis-test.outcome == 'failure'
run: exit 1
run: exit 1

0 comments on commit c949afb

Please sign in to comment.