Skip to content

feat: Add a GitHub workflow for quality & tests (+ Dependabot) #1

feat: Add a GitHub workflow for quality & tests (+ Dependabot)

feat: Add a GitHub workflow for quality & tests (+ Dependabot) #1

Workflow file for this run

name: CI
on:
pull_request:
workflow_dispatch:
jobs:
quality:
name: Quality
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
cache: pip
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -r requirements-dev.txt
- name: Run
run: ./checks.sh
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
cache: pip
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -r requirements-dev.txt
- name: Run
run: python -m pytest --doctest-modules host tests