Skip to content

Commit 961feb8

Browse files
authored
Merge pull request #2840 from internetee/qlty-coverage-upload
Upload coverage to qlty
2 parents c3b5829 + b1aeab3 commit 961feb8

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ruby.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,13 @@ jobs:
5757
bundle exec rake db:setup:all
5858
bundle exec rails test test/*
5959
60-
# - name: Upload coverage to Qlty
61-
# env:
62-
# QLTY_TOKEN: ${{ secrets.QLTY_TOKEN }}
63-
# run: npx --yes @qlty/cli coverage --token "$QLTY_TOKEN" coverage/.resultset.json
60+
- uses: qltysh/qlty-action/coverage@v2
61+
if: github.event_name == 'push'
62+
with:
63+
token: ${{ secrets.QLTY_TOKEN }}
64+
files: coverage/.resultset.json
65+
66+
- uses: actions/upload-artifact@v4
67+
with:
68+
name: coverage
69+
path: coverage/

0 commit comments

Comments
 (0)