33 lines
860 B
YAML
33 lines
860 B
YAML
# A single CI script with github workflow
|
|
name: Tests
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
python-version: [3.9]
|
|
runs-on: ${{ matrix.os }}
|
|
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 package
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install pytest
|
|
pip install qiskit openfermion qulacs hybridq
|
|
pip install tensorflow==2.7.0
|
|
pip install tensorflow_quantum
|
|
pip install projectq
|
|
pip install qsimcirq
|
|
pip install git+https://github.com/qiboteam/qibo
|
|
pip install git+https://github.com/qiboteam/qibojit
|
|
- name: Test
|
|
run: |
|
|
pytest
|