This repository has been archived by the owner on Dec 4, 2024. It is now read-only.
Added option to specify a root path for IBFT validators dir (#1986) #464
This file contains 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: PolyBFT Property tests | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- main | |
- develop | |
workflow_dispatch: | |
workflow_call: | |
outputs: | |
workflow_output: | |
description: "Property output" | |
value: ${{ jobs.build.outputs.property_output_failure }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
E2E_TESTS: true | |
E2E_LOGS: true | |
CI_VERBOSE: true | |
outputs: | |
property_output_failure: ${{ steps.run_property_failure.outputs.test_output }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- name: Run tests | |
run: make test-property-polybft | |
- name: Run tests failed | |
if: failure() | |
id: run_property_failure | |
run: echo "test_output=false" >> $GITHUB_OUTPUT | |
- name: Archive test logs | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: e2e-logs | |
path: e2e-logs-*/ | |
retention-days: 30 |