Skip to content

refactor: make main.py more maintanable and readable. make "python ma… #4

refactor: make main.py more maintanable and readable. make "python ma…

refactor: make main.py more maintanable and readable. make "python ma… #4

Workflow file for this run

name: Run Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .
- name: Lint with pylint
run: |
pylint src/ --disable=C,R,W --extension-pkg-allow-list=qiskit
- name: Test with pytest
run: |
pytest tests/ -v --tb=short