Release March 19th #227
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: Test - mitoinstaller pytest | |
on: | |
push: | |
branches: [ dev ] | |
paths: | |
- 'mitoinstaller/**' | |
pull_request: | |
paths: | |
- 'mitoinstaller/**' | |
jobs: | |
test-mitoinstaller: | |
strategy: | |
matrix: | |
python-version: [3.6, 3.8] | |
os: [ubuntu-20.04, windows-latest, macos-latest] | |
exclude: | |
- python-version: 3.6 | |
os: 'windows-latest' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.7.0 | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
cache-dependency-path: | | |
mitosheet/setup.py | |
mitoinstaller/setup.py | |
mitoinstaller/requirements.txt | |
- name: Install dependencies | |
run: | | |
cd mitoinstaller | |
pip install -r requirements.txt | |
- name: Test with pytest | |
run: | | |
cd mitoinstaller | |
pytest |