Skip to content

test: corrected ramping condition #219

test: corrected ramping condition

test: corrected ramping condition #219

Workflow file for this run

name: unit-tests-boa
on: [push]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache Compiler Installations
uses: actions/cache@v2
with:
path: |
~/.vvm
key: compiler-cache-${{ hashFiles('**/requirements.txt') }}
- name: Setup Python 3.10.4
uses: actions/setup-python@v2
with:
python-version: 3.10.4
- name: Install Requirements
run: pip install -r requirements.txt
- name: Run Tests
run: python -m pytest tests/unitary -n auto --ignore=tests/unitary/pool/stateful --ignore=tests/unitary/math
stateful-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache Compiler Installations
uses: actions/cache@v2
with:
path: |
~/.vvm
key: compiler-cache-${{ hashFiles('**/requirements.txt') }}
- name: Setup Python 3.10.4
uses: actions/setup-python@v2
with:
python-version: 3.10.4
- name: Install Requirements
run: pip install -r requirements.txt
- name: Run Stateful Tests
run: python -m pytest tests/unitary/pool/stateful -n auto --ignore=tests/unitary/pool/stateful/legacy
math-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache Compiler Installations
uses: actions/cache@v2
with:
path: |
~/.vvm
key: compiler-cache-${{ hashFiles('**/requirements.txt') }}
- name: Setup Python 3.10.4
uses: actions/setup-python@v2
with:
python-version: 3.10.4
- name: Install Requirements
run: pip install -r requirements.txt
- name: Run Tests
run: python -m pytest tests/unitary/math -n auto