Skip to content

Remove tensorflow_macos from requirements #52

Remove tensorflow_macos from requirements

Remove tensorflow_macos from requirements #52

Workflow file for this run

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