Skip to content

Commit

Permalink
Resolve upload-artifact breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mythicaeda committed Feb 21, 2024
1 parent ea98332 commit a596349
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ jobs:
- name: Upload Security Scan Results
uses: actions/upload-artifact@v4
with:
name: Security Scan Results
name: Security Scan Results - ${{ matrix.language }}
path: ${{ env.RESULTS_DIR }}
33 changes: 10 additions & 23 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,14 @@ jobs:
run: ./gradlew assemble --parallel
- name: Run Unit Tests
run: ./gradlew test --parallel
- name: Upload Test Results as XML
- name: Upload Test Results as XML and HTML
if: always()
uses: actions/upload-artifact@v4
with:
name: Test Results
path: "**/build/test-results/test"
- name: Upload Test Results as HTML
if: always()
uses: actions/upload-artifact@v4
with:
name: Test Results
path: "**/build/reports/tests/test"
name: Unit Test Results
path: |
**/build/test-results/test
**/build/reports/tests/test
e2e-test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -87,20 +83,11 @@ jobs:
if: always()
uses: actions/upload-artifact@v4
with:
name: Test Results
path: "**/e2e-tests/build/reports/tests/e2eTest"
- name: Upload DB Test Results as HTML
if: always()
uses: actions/upload-artifact@v4
with:
name: Test Results
path: "**/db-tests/build/reports/tests/e2eTest"
- name: Upload Sequencing Server Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: Test Results
path: "**/sequencing-server/test-report.*"
name: E2E Test Results
path: |
**/e2e-tests/build/reports/tests/e2eTest
**/db-tests/build/reports/tests/e2eTest
**/sequencing-server/test-report.*
- name: Print Logs for Services
if: always()
run: docker compose -f ./e2e-tests/docker-compose-test.yml logs -t
Expand Down

0 comments on commit a596349

Please sign in to comment.