Skip to content

add openapi specifications #255

add openapi specifications

add openapi specifications #255

Workflow file for this run

name: Python application
on:
push:
branches: '**'
pull_request:
branches: '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt;
- name: Run tests
env:
QISKIT_TOKEN: ${{ secrets.QISKIT_TOKEN }}
run: |
docker run -d -p 5040:5040 redis --port 5040
sleep 5
rq worker --url redis://localhost:5040 qiskit-service_execute > worker.log 2>&1 &
sleep 5
python -m unittest discover test
- name: Store log
if: always()
uses: actions/upload-artifact@v3
with:
name: worker-log
path: worker.log