@@ -7,16 +7,17 @@ name: build
7
7
on :
8
8
push :
9
9
branches : [ master ]
10
- pull_request :
11
- branches : [ master ]
10
+ # pull_request:
11
+ # branches: [ master ]
12
12
13
13
jobs :
14
14
# Run tests on different versions of python
15
15
unittest :
16
- runs-on : ubuntu-latest
16
+ runs-on : ${{ matrix.os }}
17
17
strategy :
18
18
matrix :
19
- python-version : [3.6, 3.7, 3.8]
19
+ os : [windows-latest, ubuntu-latest, macos-latest]
20
+ python-version : [3.6, 3.7, 3.8, 3.9]
20
21
21
22
steps :
22
23
- uses : actions/checkout@v2
27
28
- name : Install dependencies
28
29
run : |
29
30
python -m pip install --upgrade pip
30
- pip install -r .github/dev_requirements.txt
31
- pip install .
31
+ pip install .[dev]
32
32
pip install pytest-timeout
33
33
pip install pytest-xvfb
34
34
- name : Test with pytest
51
51
- name : Install dependencies
52
52
run : |
53
53
python -m pip install --upgrade pip
54
- pip install -r .github/dev_requirements.txt
55
54
- name : Run coverage
56
55
run : |
57
- pip install .
56
+ pip install .[dev]
58
57
pip install pytest-xvfb
59
58
pip install pytest-timeout
60
59
pytest --cov --cov-config=./spatialmath/.coveragerc --cov-report xml
78
77
- name : Install dependencies
79
78
run : |
80
79
python -m pip install --upgrade pip
81
- pip install -r .github/dev_requirements.txt
82
- pip install .
80
+ pip install .[dev,docs]
83
81
pip install git+https://github.com/petercorke/sphinx-autorun.git
84
82
pip install sympy
85
83
sudo apt-get install graphviz
0 commit comments