Skip to content

Improve community standards #35

Improve community standards

Improve community standards #35

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths:
- ".github/**"
- "intercepts/**"
- "tests/**"
- "pyproject.toml"
- "requirements.txt"
pull_request:
branches: [main]
paths:
- ".github/**"
- "intercepts/**"
- "tests/**"
- "pyproject.toml"
- "requirements.txt"
workflow_dispatch:
jobs:
tests:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: pip
cache-dependency-path: "pyproject.toml"
- name: Install Intercepts
shell: bash
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
- name: Run Test Suite
shell: bash
run: |
coverage run
coverage combine
coverage xml
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3