Skip to content

Commit

Permalink
Add test result upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-asriyan committed Sep 10, 2023
1 parent 9af2430 commit 9e1dd93
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ jobs:
- name: Run tests
run: docker run --rm -v $(pwd)/test-files:/source --platform ${{ matrix.platform }} lottie-to-${{ matrix.image }}:${{ matrix.platform }}

- name: Upload test results as artifacts
uses: actions/upload-artifact@v3
with:
name: test-results.linux.${{ matrix.platform }}.${{ matrix.image }}
path: test-files

build-darwin:
name: Build MacOS executable
runs-on: macos-latest
Expand All @@ -100,7 +106,7 @@ jobs:
- name: Build the app
run: cmake CMakeLists.txt && cmake --build .

- name: Upload artifact
- name: Upload executable as artifact
uses: actions/upload-artifact@v3
with:
name: lottie-to-png.darwin.amd64
Expand Down Expand Up @@ -141,6 +147,12 @@ jobs:
done \
"
- name: Upload test results as artifacts
uses: actions/upload-artifact@v3
with:
name: test-results.darwin.amd64.${{ matrix.case }}
path: test-files

build-windows:
name: Build Windows executable
runs-on: windows-latest
Expand All @@ -163,6 +175,12 @@ jobs:
name: lottie-to-png.win.amd64
path: .

- name: Upload test results as artifacts
uses: actions/upload-artifact@v3
with:
name: test-results.windows.amd64.${{ matrix.case }}
path: test-files

release:
needs:
- test-docker
Expand Down

0 comments on commit 9e1dd93

Please sign in to comment.