Skip to content

Commit

Permalink
Added subpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
d3vil-st committed Sep 16, 2024
1 parent 884dd69 commit 82694b1
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
matrix:
solution:
- name: compute-testing
# - name: slurm
# - name: k8s-inference
# - name: k8s-training
# - name: slurm

defaults:
run:
Expand Down Expand Up @@ -109,16 +109,6 @@ jobs:
- name: Terraform Test
run: terraform test -verbose -junit-xml=tests/reports/TEST-result-${{ github.run_id }}.xml

- name: Test Summary
uses: test-summary/action@v2
with:
paths: ${{ matrix.solution.name }}/tests/reports/TEST-result-${{ github.run_id }}.xml
if: always()

- name: Upload test results
run: s3cmd sync tests/reports s3://terraform-test-reports/${{ matrix.solution.name }}/
if: always()

- name: Load test report history
uses: actions/checkout@v4
if: always()
Expand All @@ -128,20 +118,20 @@ jobs:
path: gh-pages

- name: Build test report
uses: simple-elf/allure-report-action@v1.7
uses: simple-elf/allure-report-action@v1.9
if: always()
with:
gh_pages: gh-pages
allure_history: allure-history
allure_results: tests/reports
subfolder: ${{ matrix.solution.name }}
allure_results: ${{ matrix.solution.name }}/tests/reports

- name: Publish test report
uses: peaceiris/actions-gh-pages@v4
if: always()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: allure-history
publish_dir: ${{ matrix.solution.name }}/allure-history

cleanup-infra:
name: 'Cleanup Infra'
Expand Down

0 comments on commit 82694b1

Please sign in to comment.