Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/build-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ main ]

# This enables the Run Workflow button on the Actions tab.
workflow_dispatch:

permissions:
contents: read
checks: write
Expand All @@ -32,10 +35,19 @@ jobs:
run: deft build dylan-gsl-test-suite

- name: Run tests
run: _build/bin/dylan-gsl-test-suite --progress none --report surefire > _build/TEST-dylan-gsl-test-suite.xml
run: |
_build/bin/dylan-gsl-test-suite --progress none --report surefire --report-file _build/TEST-dylan-gsl-test-suite.xml

- name: Publish Test Report
if: success() || failure()
uses: mikepenz/action-junit-report@v6
with:
report_paths: '**/_build/TEST-*.xml'
require_tests: true

- name: Upload surefire report
uses: actions/upload-artifact@v7
with:
path: |
TEST-dylan-gsl-test-suite.xml
_test/**