Merge pull request #4 from dylan-lang/dependabot/github_actions/mikep… #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-and-test | |
on: | |
push: | |
# all branches | |
pull_request: | |
# all branches | |
# This enables the Run Workflow button on the Actions tab. | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Opendylan | |
uses: dylan-lang/install-opendylan@v3 | |
- name: Download dependencies | |
run: dylan update | |
- name: Build tests | |
run: dylan build anaphora-test | |
- name: Run tests | |
run: _build/bin/anaphora-test --progress none --report surefire > _build/TEST-anaphora.xml | |
- name: Publish Test Report | |
if: success() || failure() | |
uses: mikepenz/action-junit-report@v5 | |
with: | |
report_paths: '**/_build/TEST-*.xml' |