Skip to content

fix(context.py): fixing class validator #24

fix(context.py): fixing class validator

fix(context.py): fixing class validator #24

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
branches:
- "**"
paths-ignore:
- "docs/**"
types:
- ready_for_review
- synchronize
jobs:
pre-commit:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
steps:
-
name: Checking out repository
uses: actions/checkout@v2
-
name: Setting up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
-
uses: pre-commit/[email protected]
tests:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
needs: pre-commit
steps:
-
name: Checking out repository
uses: actions/checkout@v2
-
name: Installing poetry
run: |
pipx install poetry
-
name: Setting up python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
-
name: Installing workflow dependencies
run: |
poetry install
-
name: Run workflow tests
run: |
poetry run pytest --cov . --cov-report=lcov -s -v
-
name: Upload coverage report
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: "coverage.lcov"