Remove tensorflow_macos
from requirements
#52
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: builds | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
HYPOTHESIS_PROFILE: ci | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.9', '3.10'] | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Build and install Mr Mustard | |
run: | | |
python -m pip install --upgrade pip wheel | |
python setup.py bdist_wheel | |
pip install dist/mrmustard*.whl | |
- name: Install test dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
pip install wheel pytest pytest-cov pytest-mock hypothesis --upgrade | |
- name: Run tests | |
run: | | |
python -m pytest tests -p no:warnings --tb=native |