Fix tensorflow version to 2.14.1 #657
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: Build and Test | |
on: | |
push: | |
branches: [ master, dev, 'release/*' ] | |
pull_request: | |
branches: [ master, dev, 'release/*' ] | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python-version: [3.7, 3.8, 3.9] | |
env: | |
OS: ${{ matrix.os }} | |
PYTHON: ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install c3 package | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest qiskit | |
pip install . | |
- name: Test with pytest | |
run: | | |
pytest -v -x -m "not slow" test/ | |
pytest -v -x -m "slow" test/ |