Skip to content

bug: make the CI pass #1

bug: make the CI pass

bug: make the CI pass #1

Workflow file for this run

name: Run all the unit tests
on:
push:
branches: [main]
pull_request:
jobs:
build:
# Avoiding -latest due to https://github.com/actions/setup-python/issues/162
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
env:
# default: multiprocessing
# threading is more stable on GitHub Actions
BOLT_PYTHON_MOCK_SERVER_MODE: threading
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U pip
python install .
pip install -r requirements/testing.txt
- name: Run tests
run: |
pytest