File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 26
26
- name : Test
27
27
id : test
28
28
run : |
29
- poetry run pytest --cov=commitomatic --cov-report=xml
29
+ poetry run pytest --cov=commitomatic --cov-report=xml --cov-report=html
30
30
curl https://deepsource.io/cli | sh
31
31
./bin/deepsource report --analyzer test-coverage --key python --value-file $PWD/coverage.xml
32
32
rate=$(grep -Pio 'line-rate="\K[^"]*' coverage.xml | head -n1)
39
39
DEEPSOURCE_DSN : ${{ secrets.DEEPSOURCE_DSN }}
40
40
BADGE_PATH : test-coverage.svg
41
41
42
+ - name : Deploy Coverage Report to Pages
43
+ if : success()
44
+ uses : crazy-max/ghaction-github-pages@v2
45
+ with :
46
+ target_branch : gh-pages
47
+ build_dir : htmlcov
48
+ env :
49
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
50
+
42
51
- uses : actions/checkout@v3
43
52
with :
44
53
ref : badges
Original file line number Diff line number Diff line change 1
1
[ ![ DeepSource] ( https://deepsource.io/gh/tiborpilz/commitomatic.svg/?label=active+issues&show_trend=true&token=HXOj050y_0e28wz3hpVDSbg6 )] ( https://deepsource.io/gh/tiborpilz/commitomatic/?ref=repository-badge )
2
2
[ ![ DeepSource] ( https://deepsource.io/gh/tiborpilz/commitomatic.svg/?label=resolved+issues&show_trend=true&token=HXOj050y_0e28wz3hpVDSbg6 )] ( https://deepsource.io/gh/tiborpilz/commitomatic/?ref=repository-badge )
3
- [ !Coverage(https://raw.githubusercontent.com/tiborpilz/commitomatic/badges/test-coverage.svg )]
3
+ [ ![ Coverage] ( https://raw.githubusercontent.com/tiborpilz/commitomatic/badges/test-coverage.svg )] ( )
4
+
4
5
# Commitomatic
5
6
6
7
Commitomatic is a command-line tool that uses the OpenAI GPT-Codex to generate commit messages based on a git diff.
You can’t perform that action at this time.
0 commit comments