File tree Expand file tree Collapse file tree 1 file changed +23
-12
lines changed Expand file tree Collapse file tree 1 file changed +23
-12
lines changed Original file line number Diff line number Diff line change 10
10
- main
11
11
12
12
jobs :
13
- run-test-code :
13
+ run-pytest-only :
14
14
runs-on : ubuntu-latest
15
15
strategy :
16
16
matrix :
17
- python-version : ["3.7", "3. 8", "3.9", "3.10"]
17
+ python-version : ["3.8", "3.9", "3.10"]
18
18
container :
19
19
image : ghcr.io/${{ github.repository }}/learn-maintenance-image-${{ matrix.python-version }}:latest
20
20
credentials :
21
21
username : ${{ github.actor }}
22
22
password : ${{ secrets.GITHUB_TOKEN }}
23
23
steps :
24
- - uses : actions/checkout@v3
25
-
24
+ - uses : actions/checkout@v3
26
25
- run : python --version
27
- - run : coverage run -m --source=. pytest
28
- - run : coverage lcov
29
- - name : Coveralls GitHub Action
30
- uses : coverallsapp/github-action@master
31
- with :
32
- path-to-lcov : ./coverage.lcov
33
- github-token : ${{ secrets.GITHUB_TOKEN }}
34
- - run : coverage report
26
+ - run : pytest
27
+
28
+ run-coveralls :
29
+ runs-on : ubuntu-latest
30
+ container :
31
+ image : ghcr.io/${{ github.repository }}/learn-maintenance-image-3.7:latest
32
+ credentials :
33
+ username : ${{ github.actor }}
34
+ password : ${{ secrets.GITHUB_TOKEN }}
35
+ steps :
36
+ - uses : actions/checkout@v3
37
+ - run : python --version
38
+ - run : coverage run -m --source=. pytest
39
+ - run : coverage lcov
40
+ - name : Coveralls GitHub Action
41
+ uses : coverallsapp/github-action@master
42
+ with :
43
+ path-to-lcov : ./coverage.lcov
44
+ github-token : ${{ secrets.GITHUB_TOKEN }}
45
+ - run : coverage report
You can’t perform that action at this time.
0 commit comments