Skip to content

Commit

Permalink
Merge branch 'test_framework_one_file'
Browse files Browse the repository at this point in the history
  • Loading branch information
saurtron committed Dec 21, 2024
2 parents 6db2549 + 077271c commit 9a2ceaf
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,36 +23,19 @@ jobs:
run: docker compose -f tools/headless_testing/docker-compose.yml up
timeout-minutes: 30

- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: Test Results
path: tools/headless_testing/testlog/results.json

test-results:
name: Process Test Results
runs-on: ubuntu-latest
needs: run-tests
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
path: artifacts

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
with:
action_fail: true
action_fail_on_inconclusive: true
check_name: "Test Results"
time_unit: milliseconds
files: "artifacts/Test Results/*.json"
files: "tools/headless_testing/testlog/results.json"

deploy:
name: Deploy
runs-on: ubuntu-latest
needs: test-results
needs: run-tests
if: |
github.repository == 'beyond-all-reason/Beyond-All-Reason' &&
github.event_name == 'push' &&
Expand Down

0 comments on commit 9a2ceaf

Please sign in to comment.