File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Testing Pull Request"
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - " master"
7+
8+
9+ jobs :
10+ build :
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ os : [windows-latest, macos-latest, ubuntu-latest]
16+ python-version : [3.7, 3.8]
17+
18+ steps :
19+ - uses : actions/checkout@v2
20+
21+
22+ - name : Set up Python
23+ uses : actions/setup-python@v2
24+ with :
25+ python-version : ${{ matrix.python-version }}
26+
27+ - name : Setup conda
28+ uses : s-weigand/setup-conda@v1
29+ with :
30+ update-conda : true
31+ python-version : ${{ matrix.python-version }}
32+ conda-channels : anaconda, conda-forge
33+
34+ - name : Install Python dependencies
35+ run : |
36+ conda install --yes pythonocc-core=7.4.0
37+ python3 -m pip install --upgrade pip
38+ python3 -m pip install smithers[vtk]
39+ python3 -m pip install .[test]
40+
41+ - name : Test with pytest
42+ run : |
43+ python3 -m pytest
You can’t perform that action at this time.
0 commit comments