Skip to content

[chore]: issue templates, security and coverage conf #8

[chore]: issue templates, security and coverage conf

[chore]: issue templates, security and coverage conf #8

Workflow file for this run

# This workflow will build the package and validate it (e.g. inspect code formatting, run tests) against multiple Python versions and OSs.
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python v${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
python -m pip install --upgrade pip
python -m pip install poetry==1.5.1
- name: Install Package Dependencies (required and dev)
run: |
poetry check
poetry install
- name: Inspect Code Formatting
run: |
poetry run black . --check
poetry run isort . --check
# - name: Run Tests
# run: |
# poetry run pytest