Update LICENSE.rst #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Testing Pull Request" | |
on: | |
pull_request: | |
branches: | |
- "master" | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, macos-latest, ubuntu-latest] | |
python-version: [3.7, 3.8] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup conda | |
uses: s-weigand/setup-conda@v1 | |
with: | |
update-conda: true | |
python-version: ${{ matrix.python-version }} | |
conda-channels: anaconda, conda-forge | |
- name: Install Python dependencies | |
run: | | |
conda install --yes pythonocc-core=7.4.0 | |
python3 -m pip install --upgrade pip | |
python3 -m pip install smithers[vtk] | |
python3 -m pip install .[test] | |
- name: Test with pytest | |
run: | | |
python3 -m pytest |