Skip to content

Commit

Permalink
Add test report uploading to CircleCI and Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Huddo121 committed Oct 28, 2021
1 parent 7a9bcc5 commit 6ad3aa8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ jobs:
- run: nix-env -i wget
# - run: nix-build
- run: nix-shell --command "cabal update; cabal test --enable-tests --test-show-details=streaming; exit"
- store_test_results:
path: ./test-reports/**/*.xml
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
# - run: nix-build
- run: nix-shell --command "cabal update; cabal test --enable-tests --test-show-details=streaming; exit"
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: test-reports/**/*.xml

0 comments on commit 6ad3aa8

Please sign in to comment.