fix customprofile and add tutorial on it #46
Workflow file for this run
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.1.1 | |
with: | |
update-conda: true | |
python-version: ${{ matrix.python-version }} | |
conda-channels: anaconda, conda-forge | |
- name: Install Python dependencies on Linux/MacOS | |
if: startsWith(matrix.os, 'windows') != true | |
run: | | |
conda install --yes pythonocc-core=7.4.1 | |
python3 -m pip install --upgrade pip | |
python3 -m pip install smithers[vtk] | |
python3 -m pip install .[test] | |
- name: Install Python dependencies on Windows | |
if: startsWith(matrix.os, 'windows') | |
run: | | |
conda install --yes pythonocc-core=7.4.1 | |
python -m pip install --upgrade pip | |
python -m pip install smithers[vtk] | |
python -m pip install .[test] | |
- name: Test with pytest on Windows | |
if: startsWith(matrix.os, 'windows') | |
run: python -m pytest | |
- name: Test with pytest on Linux/MacOS | |
if: startsWith(matrix.os, 'windows') != true | |
run: python3 -m pytest |