forked from Nicoretti/crc
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 874 Bytes
/
pr-merge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: PR-Merge
on:
push:
branches:
- 'master'
jobs:
ci-job:
name: Checks
uses: ./.github/workflows/checks.yml
publish-coverage:
name: Publish Code Coverage
runs-on: ubuntu-latest
steps:
- name: SCM Checkout
uses: actions/checkout@v4
- name: Setup Python & Poetry Environment
uses: ./.github/actions/python-environment
with:
python-version: 3.8
- name: Collect Code Coverage
run: poetry run invoke test.coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Publish Code Coverage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: poetry run coveralls --service=github
publish-docs:
name: Publish Documentation
uses: ./.github/workflows/gh-pages.yml