8000 Update master.yml · btalb/spatialmath-python@9d5e2d3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9d5e2d3

Browse files
authored
Update master.yml
1 parent 80248f8 commit 9d5e2d3

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/master.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ name: build
77
on:
88
push:
99
branches: [ master ]
10-
pull_request:
11-
branches: [ master ]
10+
# pull_request:
11+
# branches: [ master ]
1212

1313
jobs:
1414
# Run tests on different versions of python
1515
unittest:
16-
runs-on: ubuntu-latest
16+
runs-on: ${{ matrix.os }}
1717
strategy:
1818
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]
2021

2122
steps:
2223
- uses: actions/checkout@v2
@@ -27,8 +28,7 @@ jobs:
2728
- name: Install dependencies
2829
run: |
2930
python -m pip install --upgrade pip
30-
pip install -r .github/dev_requirements.txt
31-
pip install .
31+
pip install .[dev]
3232
pip install pytest-timeout
3333
pip install pytest-xvfb
3434
- name: Test with pytest
@@ -51,10 +51,9 @@ jobs:
5151
- name: Install dependencies
5252
run: |
5353
python -m pip install --upgrade pip
54-
pip install -r .github/dev_requirements.txt
5554
- name: Run coverage
5655
run: |
57-
pip install .
56+
pip install .[dev]
5857
pip install pytest-xvfb
5958
pip install pytest-timeout
6059
pytest --cov --cov-config=./spatialmath/.coveragerc --cov-report xml
@@ -78,8 +77,7 @@ jobs:
7877
- name: Install dependencies
7978
run: |
8079
python -m pip install --upgrade pip
81-
pip install -r .github/dev_requirements.txt
82-
pip install .
80+
pip install .[dev,docs]
8381
pip install git+https://github.com/petercorke/sphinx-autorun.git
8482
pip install sympy
8583
sudo apt-get install graphviz

0 commit comments

Comments
 (0)
0