Skip to content

Commit

Permalink
ci: move coveralls to seprate job
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Nov 21, 2023
1 parent a1b196e commit 7750b3e
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/run_test_case.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,20 @@ jobs:
make eunit
make ct
make cover
- name: Coveralls
if: ${{ success() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
make coveralls
- uses: actions/upload-artifact@v1
if: failure()
with:
name: logs
path: _build/test/logs

coveralls:
runs-on: ubuntu-latest
container:
image: erlang:25
steps:
- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
rebar3 as test do eunit,ct,cover
make coveralls

0 comments on commit 7750b3e

Please sign in to comment.