diff --git a/.github/workflows/nim_waku_PR.yml b/.github/workflows/nim_waku_PR.yml index 084b8479..6a6d0318 100644 --- a/.github/workflows/nim_waku_PR.yml +++ b/.github/workflows/nim_waku_PR.yml @@ -6,6 +6,10 @@ concurrency: on: workflow_dispatch: + inputs: + node_nwaku: + required: true + type: string workflow_call: inputs: node_nwaku: diff --git a/.github/workflows/test_PR_image.yml b/.github/workflows/test_PR_image.yml index 66ff109a..2af8ecb9 100644 --- a/.github/workflows/test_PR_image.yml +++ b/.github/workflows/test_PR_image.yml @@ -54,35 +54,18 @@ jobs: - run: pip install -r requirements.txt - name: Run tests + timeout-minutes: 30 run: | - pytest -m 'smoke' -n 4 --dist loadgroup --reruns 2 --alluredir=allure-result + pytest -m 'smoke' -n 4 --dist loadgroup --reruns 1 --junit-xml=pytest_results.xml - - name: Get allure history + - name: Test Report if: always() - uses: actions/checkout@v4 + uses: dorny/test-reporter@95058abb17504553158e70e2c058fe1fda4392c2 with: - ref: gh-pages - path: gh-pages - - - name: Setup allure report - uses: simple-elf/allure-report-action@master - if: always() - id: allure-report - with: - allure_results: allure-results - gh_pages: gh-pages/${{ env.CALLER }} - allure_history: allure-history - keep_reports: 30 - report_url: https://waku-org.github.io/waku-interop-tests/${{ env.CALLER }} - - - name: Deploy report to Github Pages - uses: peaceiris/actions-gh-pages@v3 - if: always() - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_branch: gh-pages - publish_dir: allure-history - destination_dir: ${{ env.CALLER }} + name: Pytest JUnit Test Report + path: pytest_results.xml + reporter: java-junit + use-actions-summary: 'true' - name: Create job summary if: always()