File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Workflow for Codecov example-python
2
2
on : [push, pull_request, workflow_dispatch]
3
3
jobs :
4
+
4
5
run :
5
- runs-on : ubuntu-latest
6
+ name : Python ${{ matrix.python-version }} on ${{ matrix.os }}
7
+ runs-on : ${{ matrix.os }}
8
+
9
+ strategy :
10
+ # fail-fast: false
11
+ matrix :
12
+ os : [ubuntu-latest, windows-latest, macos-latest]
13
+ python-version : ["3.7", "3.8", "3.9"]
14
+
6
15
steps :
7
16
- name : Checkout
8
17
uses : actions/checkout@v2
9
- - name : Set up Python 3.9
18
+ - name : Set up Python ${{ matrix.python-version }}
10
19
uses : actions/setup-python@v2
11
20
with :
12
- python-version : 3.9
21
+ python-version : ${{ matrix.python-version }}
22
+
13
23
- name : Install dependencies
14
24
run : pip install -r requirements.txt
15
25
- name : Run tests and collect coverage
You can’t perform that action at this time.
0 commit comments