Skip to content

Commit

Permalink
test reports external
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean committed Apr 14, 2024
1 parent 91379b8 commit 39003da
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/e2e-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,6 @@ jobs:
docker-compose -f ./e2e-tests/selenoid/selenoid-ci.yaml up -d
docker-compose -f ./documentation/compose/e2e-tests.yaml up -d
- name: TEST #TODO
run: |
ls -la ./e2e-tests || exit 0
ls -la ./e2e-tests/target || exit 0
- name: Run test suite
run: |
./mvnw -B -ntp versions:set -DnewVersion=${{ inputs.sha }}
Expand All @@ -137,9 +132,11 @@ jobs:
name: reports
path: ./e2e-tests/target/allure-results

# TODO upload as an artifact?

- name: Generate Allure report
uses: simple-elf/[email protected]
if: ${{ github.repository == 'kafbat/kafka-ui' }}
#if: ${{ github.repository == 'kafbat/kafka-ui' }}
id: allure-report
with:
allure_results: ./e2e-tests/target/allure-results
Expand All @@ -149,7 +146,7 @@ jobs:
report_url: "https://reports.kafbat.dev"

- name: Upload allure report to R2
if: ${{ github.repository == 'kafbat/kafka-ui' }}
#if: ${{ github.repository == 'kafbat/kafka-ui' }}
uses: ryand56/r2-upload-action@latest
with:
source-dir: allure-history/allure-results
Expand All @@ -160,7 +157,7 @@ jobs:
r2-secret-access-key: ${{ secrets.R2_ACCESS_SECRET_KEY }}

- name: Add allure link status check
if: ${{ github.repository == 'kafbat/kafka-ui' }}
#if: ${{ github.repository == 'kafbat/kafka-ui' }}
uses: Sibz/[email protected]
with:
authToken: ${{secrets.GITHUB_TOKEN}}
Expand Down

0 comments on commit 39003da

Please sign in to comment.