support: issues with publishing 2 different reports in the same action run #1111
Closed
3 tasks done
Labels
support
User support
Checklist
Describe your question
I have a test suite that must be run on 2 different runners. public and private. hence i cant have a single allure report file. first the private part runs (it creates a bunch of resources in Azure) and after that the public part runs (it relies on resources being created by the private part). private part runs this action just fine and I can see the reports. However the public part reports are always blank. Action produces no errors except for errors deleting files.
Relevant links
Public repository: repo is private
YAML config: ?
YAML workflow:
name: e2e nightly tests permissions: contents: write jobs: private: runs-on: xyz steps: - redacted - name: run private tests run: python3 -m pytest ./_tests -m private --alluredir allure-results --color=no -s - name: checkout allure branch uses: actions/checkout@v4 if: always() continue-on-error: true with: ref: gh-pages path: gh-pages - name: generate allure reports uses: simple-elf/allure-report-action@master if: always() id: allure-report with: github_run_num: ${{ github.run_number }}-private # these are all defaults gh_pages: gh-pages allure_results: allure-results allure_report: allure-report allure_history: allure-history - name: deploy allure reports if: always() uses: peaceiris/actions-gh-pages@v4.0.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: allure-history public: runs-on: ubuntu-latest needs: - private steps: - redacted - name: run public tests run: pytest -m public --alluredir allure-results --color=no --suppress-no-test-exit-code -s - name: checkout allure branch uses: actions/checkout@v4 if: always() continue-on-error: true with: ref: gh-pages path: gh-pages - name: generate allure reports uses: simple-elf/allure-report-action@v1.11 if: always() id: allure-report with: github_run_num: ${{ github.run_number }}-public # these are all defaults gh_pages: gh-pages allure_results: allure-results allure_report: allure-report allure_history: allure-history - name: deploy allure reports if: always() uses: peaceiris/actions-gh-pages@v4.0.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: allure-history keep_files: true
using
github_run_num: ${{ github.run_number }}-private
andgithub_run_num: ${{ github.run_number }}-public
so that the reports do not collideRelevant log output
the only errors are get are during this step: Prepare publishing assets
where it tries to delete a bunch of stuff and fails for some of it.
The text was updated successfully, but these errors were encountered: