Skip to content

Commit

Permalink
Merge pull request #174 from fraya/master
Browse files Browse the repository at this point in the history
Improve GH build and test action
  • Loading branch information
fraya authored Feb 17, 2024
2 parents e00aa27 + 0e2a502 commit 627c33a
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name: build-and-test
on:
push:
# all branches
paths-ignore:
- 'documentation/**'
pull_request:
branches:
- main
- master
paths-ignore:
- 'documentation/**'

# This enables the Run Workflow button on the Actions tab.
workflow_dispatch:
Expand All @@ -20,9 +24,10 @@ jobs:
os: [ ubuntu-latest, macos-latest ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: dylan-lang/install-opendylan@v3
- name: Install Opendylan compiler
uses: dylan-lang/install-opendylan@v3
with:
version: 2023.1
tag: v2023.1.0
Expand All @@ -34,4 +39,11 @@ jobs:
run: dylan build testworks-test-suite-app

- name: Run testworks-test-suite-app
run: _build/bin/testworks-test-suite-app
run: |
_build/bin/testworks-test-suite-app --progress none --report surefire > _build/TEST-testworks.xml
- name: Publish Test Report
if: success() || failure()
uses: mikepenz/action-junit-report@v4
with:
report_paths: '**/_build/TEST-*.xml'

0 comments on commit 627c33a

Please sign in to comment.