-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (41 loc) · 1.17 KB
/
coveralls.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
40
41
42
on: ["push", "pull_request"]
name: Test Coveralls
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@main
- name: Setup Python
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: git config
run: |
git config user.username edwardtheharris
git config user.name 'Xander Harris'
git config user.email '[email protected]'
git checkout -b 123-feature-branch-test
- name: Install Dependencies
run: |
pip3 install -U pip pipenv
pipenv requirements --dev > reqs
pip3 install -r reqs
pytest --cov
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
parallel: true
flag-name: run-${{ matrix.python-version }}
finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Close parallel build
uses: coverallsapp/github-action@v1
with:
parallel-finished: true
carryforward: "run-3.8,run-3.9,run-3.10,run-3.11,run-3.12"