Skip to content

Graphql-ws

Graphql-ws #75

Workflow file for this run

name: CI
on:
push:
branches: [master]
paths: [rath/**, tests/**]
pull_request:
branches: [master]
paths: [rath/**, tests/**]
jobs:
mac_and_windows_unit:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
poetry-version: [1.4]
os: [macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: tlambert03/setup-qt-libs@v1
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Run Poetry Install
run: poetry install
- name: Install Qt because Qt sucks with Poetry
run: poetry run pip install pyqt5
- name: Run Tests
run: poetry run pytest --cov --cov-report=xml -k "not integration"
linux_unit:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
poetry-version: [1.4]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: tlambert03/setup-qt-libs@v1
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Run Poetry Install
run: poetry install
- name: Install Qt because Qt sucks with Poetry
run: poetry run pip install pyqt5
- name: Run Tests
run: poetry run pytest --cov --cov-report=xml -k "not integration"
linux_integration:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
poetry-version: [1.4]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: tlambert03/setup-qt-libs@v1
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Run Poetry Install
run: poetry install
- name: Install Qt because Qt sucks with Poetry
run: poetry run pip install pyqt5
- name: Run Tests
run: poetry run pytest --cov --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1