Skip to content

Commit

Permalink
Add path to report
Browse files Browse the repository at this point in the history
  • Loading branch information
ben committed Apr 1, 2024
1 parent 7ed51c8 commit 50f6825
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/build_minimal_linux.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: C/C++ CI
name: Linux build check

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

permissions:
issues: write
pull-requests: write

jobs:
build:

Expand All @@ -21,16 +25,31 @@ jobs:
run: |
cd aquamarine
./build.sh
- name: Upload package
uses: actions/upload-artifact@v4
with:
name: my-artifact
path: aquamarine/unit_tests/

- name: Run unit tests
run: |
cd aquamarine/unit_tests
./prepare_build.sh
./make_and_run_tests.sh
./make_and_run_tests.sh > test_result.txt
ls build
pwd
ls
cd ..
pwd
ls
cd ..
pwd
ls
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
uses: EnricoMi/publish-unit-test-result-action/linux@v2
if: always()
with:
files: |
test-results/**/am_ut_report.xml
test-results/**/*.xml
test-results/**/*.json
*/am_ut_report.xml
2 changes: 1 addition & 1 deletion .github/workflows/build_minimal_windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: C/C++ CI
name: Windows build check

on:
push:
Expand Down

0 comments on commit 50f6825

Please sign in to comment.