Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Apr 9, 2024
1 parent f1a285e commit 920dae2
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
#
# Replace <track> with the track name
# Replace <image-name> with an image to run the jobs on
# Replace <action to setup tooling> with a github action to setup tooling on the image
# Replace <action to setup tooling> with a GitHub action to set up tooling on the image
# Replace <install dependencies> with a cli command to install the dependencies
#
# Find Github Actions to setup tooling here:
# Find Github Actions to set up tooling here:
# - https://github.com/actions/?q=setup&type=&language=
# - https://github.com/actions/starter-workflows/tree/main/ci
# - https://github.com/marketplace?type=actions&query=setup
Expand Down Expand Up @@ -34,19 +34,31 @@ jobs:
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y fpc lcl
- run: ls -la
- name: Run tests for all exercises
run: bin/test

- run: ls -laR build # GitHub Actions test: Which file contains the test results?
# - run: ls -laR build # GitHub Actions test: Which file contains the test results?

# Input:
# * build/hello-world/junit-report-hello-world.xml
# * build/leap/junit-report-leap.xml
# Output:
# * junit-report-hello-world.xml
# * junit-report-leap.xml
- uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: |
build/**/junit-report*.xml
!build/**/*.xml
- name: Report
uses: dorny/test-reporter@eaa763f6ffc21c7a37837f56cd5f9737f27fc6c8
if: always()
with:
name: test-results
path: junit-report.xml
path: ./*.xml
reporter: java-junit
fail-on-error: true

0 comments on commit 920dae2

Please sign in to comment.