1010 branches : [ master ]
1111
1212jobs :
13- # linux-quick:
14- # runs-on: ubuntu-latest
15-
16- # steps:
17- # - uses: actions/checkout@v2
18- # - name: Set up Python 3.7
19- # uses: actions/setup-python@v2
20- # with:
21- # python-version: 3.7
22- # - name: Install dependencies
23- # run: |
24- # python -m pip install --upgrade pip
25- # pip install pylint pytest pytest-cov codecov
26- # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
27- # - name: Install adapt
28- # run: |
29- # pip install -e .
30- # - name: Test with pytest
31- # run: |
32- # pytest --cov=adapt
33- # - name: Upload codecov
34- # run: |
35- # codecov
36- # - name: Lint with pylint
37- # run: |
38- # pylint adapt tests || exit 0
39-
40- linux :
41-
13+ linux-quick :
4214 runs-on : ubuntu-latest
43- strategy :
44- max-parallel : 4
45- matrix :
46- python-version : [3.6, 3.7, 3.8]
47-
15+
4816 steps :
4917 - uses : actions/checkout@v2
50- - name : Set up Python ${{ matrix.python-version }}
18+ - name : Set up Python 3.8
5119 uses : actions/setup-python@v2
5220 with :
53- python-version : ${{ matrix.python-version }}
21+ python-version : 3.8
5422 - name : Install dependencies
5523 run : |
5624 python -m pip install --upgrade pip
@@ -59,68 +27,100 @@ jobs:
5927 - name : Install adapt
6028 run : |
6129 pip install -e .
62- - name : Lint with pylint
63- run : |
64- pylint adapt tests || exit 0
6530 - name : Test with pytest
6631 run : |
6732 pytest --cov=adapt
6833 - name : Upload codecov
6934 run : |
7035 codecov
36+ - name : Lint with pylint
37+ run : |
38+ pylint adapt tests || exit 0
39+
40+ # linux:
41+
42+ # runs-on: ubuntu-latest
43+ # strategy:
44+ # max-parallel: 4
45+ # matrix:
46+ # python-version: [3.6, 3.7, 3.8]
47+
48+ # steps:
49+ # - uses: actions/checkout@v2
50+ # - name: Set up Python ${{ matrix.python-version }}
51+ # uses: actions/setup-python@v2
52+ # with:
53+ # python-version: ${{ matrix.python-version }}
54+ # - name: Install dependencies
55+ # run: |
56+ # python -m pip install --upgrade pip
57+ # pip install pylint pytest pytest-cov codecov
58+ # if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
59+ # - name: Install adapt
60+ # run: |
61+ # pip install -e .
62+ # - name: Lint with pylint
63+ # run: |
64+ # pylint adapt tests || exit 0
65+ # - name: Test with pytest
66+ # run: |
67+ # pytest --cov=adapt
68+ # - name: Upload codecov
69+ # run: |
70+ # codecov
7171
7272
73- windows :
73+ # windows:
7474
75- runs-on : windows-2019
76- strategy :
77- max-parallel : 4
78- matrix :
79- python-version : [3.6, 3.7, 3.8]
75+ # runs-on: windows-2019
76+ # strategy:
77+ # max-parallel: 4
78+ # matrix:
79+ # python-version: [3.6, 3.7, 3.8]
8080
81- steps :
82- - uses : actions/checkout@v2
83- - name : Set up Python ${{ matrix.python-version }}
84- uses : actions/setup-python@v2
85- with :
86- python-version : ${{ matrix.python-version }}
87- - name : Install dependencies
88- run : |
89- python -m pip install --upgrade pip
90- pip install pytest
91- pip install -r requirements.txt
92- - name : Install adapt
93- run : |
94- pip install -e .
95- - name : Test with pytest
96- run : |
97- pytest
81+ # steps:
82+ # - uses: actions/checkout@v2
83+ # - name: Set up Python ${{ matrix.python-version }}
84+ # uses: actions/setup-python@v2
85+ # with:
86+ # python-version: ${{ matrix.python-version }}
87+ # - name: Install dependencies
88+ # run: |
89+ # python -m pip install --upgrade pip
90+ # pip install pytest
91+ # pip install -r requirements.txt
92+ # - name: Install adapt
93+ # run: |
94+ # pip install -e .
95+ # - name: Test with pytest
96+ # run: |
97+ # pytest
9898
99- macos :
99+ # macos:
100100
101- runs-on : macOS-latest
102- strategy :
103- max-parallel : 4
104- matrix :
105- python-version : [3.6, 3.7, 3.8]
101+ # runs-on: macOS-latest
102+ # strategy:
103+ # max-parallel: 4
104+ # matrix:
105+ # python-version: [3.6, 3.7, 3.8]
106106
107- steps :
108- - uses : actions/checkout@v2
109- - name : Set up Python ${{ matrix.python-version }}
110- uses : actions/setup-python@v2
111- with :
112- python-version : ${{ matrix.python-version }}
113- - name : Install dependencies
114- run : |
115- python -m pip install --upgrade pip
116- pip install pytest
117- pip install -r requirements.txt
118- - name : Install adapt
119- run : |
120- pip install -e .
121- - name : Test with pytest
122- run : |
123- pytest
107+ # steps:
108+ # - uses: actions/checkout@v2
109+ # - name: Set up Python ${{ matrix.python-version }}
110+ # uses: actions/setup-python@v2
111+ # with:
112+ # python-version: ${{ matrix.python-version }}
113+ # - name: Install dependencies
114+ # run: |
115+ # python -m pip install --upgrade pip
116+ # pip install pytest
117+ # pip install -r requirements.txt
118+ # - name: Install adapt
119+ # run: |
120+ # pip install -e .
121+ # - name: Test with pytest
122+ # run: |
123+ # pytest
124124
125125
126126
0 commit comments