1212jobs :
1313
1414
15- # linux-quick:
16- # runs-on: ubuntu-latest
17-
18- # steps:
19- # - uses: actions/checkout@v2
20- # - name: Set up Python 3.8
21- # uses: actions/setup-python@v2
22- # with:
23- # python-version: 3.8
24- # - name: Install dependencies
25- # run: |
26- # python -m pip install --upgrade pip
27- # pip install pylint pytest pytest-cov codecov
28- # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29- # - name: Install adapt
30- # run: |
31- # pip install -e .
32- # - name: Test with pytest
33- # run: |
34- # pytest --cov=adapt
35- # - name: Upload codecov
36- # run: |
37- # codecov
38- # - name: Lint with pylint
39- # run: |
40- # pylint adapt tests || exit 0
41-
42- linux :
43-
15+ linux-quick :
4416 runs-on : ubuntu-latest
45- strategy :
46- max-parallel : 4
47- matrix :
48- python-version : [3.6, 3.7, 3.8]
49-
17+
5018 steps :
5119 - uses : actions/checkout@v2
52- - name : Set up Python ${{ matrix.python-version }}
20+ - name : Set up Python 3.8
5321 uses : actions/setup-python@v2
5422 with :
55- python-version : ${{ matrix.python-version }}
23+ python-version : 3.8
5624 - name : Install dependencies
5725 run : |
5826 python -m pip install --upgrade pip
@@ -61,65 +29,97 @@ jobs:
6129 - name : Install adapt
6230 run : |
6331 pip install -e .
32+ - name : Test with pytest
33+ run : |
34+ pytest --cov=adapt
35+ - name : Upload codecov
36+ run : |
37+ codecov
6438 - name : Lint with pylint
6539 run : |
6640 pylint adapt tests || exit 0
67- - name : Test with pytest
68- run : |
69- pytest
41+
42+ # linux:
43+
44+ # runs-on: ubuntu-latest
45+ # strategy:
46+ # max-parallel: 4
47+ # matrix:
48+ # python-version: [3.6, 3.7, 3.8]
49+
50+ # steps:
51+ # - uses: actions/checkout@v2
52+ # - name: Set up Python ${{ matrix.python-version }}
53+ # uses: actions/setup-python@v2
54+ # with:
55+ # python-version: ${{ matrix.python-version }}
56+ # - name: Install dependencies
57+ # run: |
58+ # python -m pip install --upgrade pip
59+ # pip install pylint pytest pytest-cov codecov
60+ # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
61+ # - name: Install adapt
62+ # run: |
63+ # pip install -e .
64+ # - name: Lint with pylint
65+ # run: |
66+ # pylint adapt tests || exit 0
67+ # - name: Test with pytest
68+ # run: |
69+ # pytest
7070
7171
72- windows :
72+ # windows:
7373
74- runs-on : windows-2019
75- strategy :
76- max-parallel : 4
77- matrix :
78- python-version : [3.6, 3.7, 3.8]
74+ # runs-on: windows-2019
75+ # strategy:
76+ # max-parallel: 4
77+ # matrix:
78+ # python-version: [3.6, 3.7, 3.8]
7979
80- steps :
81- - uses : actions/checkout@v2
82- - name : Set up Python ${{ matrix.python-version }}
83- uses : actions/setup-python@v2
84- with :
85- python-version : ${{ matrix.python-version }}
86- - name : Install dependencies
87- run : |
88- python -m pip install --upgrade pip
89- pip install pytest
90- pip install -r requirements.txt
91- - name : Install adapt
92- run : |
93- pip install -e .
94- - name : Test with pytest
95- run : |
96- pytest
80+ # steps:
81+ # - uses: actions/checkout@v2
82+ # - name: Set up Python ${{ matrix.python-version }}
83+ # uses: actions/setup-python@v2
84+ # with:
85+ # python-version: ${{ matrix.python-version }}
86+ # - name: Install dependencies
87+ # run: |
88+ # python -m pip install --upgrade pip
89+ # pip install pytest
90+ # pip install -r requirements.txt
91+ # - name: Install adapt
92+ # run: |
93+ # pip install -e .
94+ # - name: Test with pytest
95+ # run: |
96+ # pytest
9797
98- macos :
98+ # macos:
9999
100- runs-on : macOS-latest
101- strategy :
102- max-parallel : 4
103- matrix :
104- python-version : [3.6, 3.7, 3.8]
100+ # runs-on: macOS-latest
101+ # strategy:
102+ # max-parallel: 4
103+ # matrix:
104+ # python-version: [3.6, 3.7, 3.8]
105105
106- steps :
107- - uses : actions/checkout@v2
108- - name : Set up Python ${{ matrix.python-version }}
109- uses : actions/setup-python@v2
110- with :
111- python-version : ${{ matrix.python-version }}
112- - name : Install dependencies
113- run : |
114- python -m pip install --upgrade pip
115- pip install pytest
116- pip install -r requirements.txt
117- - name : Install adapt
118- run : |
119- pip install -e .
120- - name : Test with pytest
121- run : |
122- pytest
106+ # steps:
107+ # - uses: actions/checkout@v2
108+ # - name: Set up Python ${{ matrix.python-version }}
109+ # uses: actions/setup-python@v2
110+ # with:
111+ # python-version: ${{ matrix.python-version }}
112+ # - name: Install dependencies
113+ # run: |
114+ # python -m pip install --upgrade pip
115+ # pip install pytest
116+ # pip install -r requirements.txt
117+ # - name: Install adapt
118+ # run: |
119+ # pip install -e .
120+ # - name: Test with pytest
121+ # run: |
122+ # pytest
123123
124124
125125
0 commit comments