Skip to content

Fix spelling typos

Fix spelling typos #18

Workflow file for this run

name: CI
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
if: |
!(github.event_name == 'push' && contains(github.event.head_commit.message, '[skip ci]'))
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true
- name: Load cached venv
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Run tests
run: |
source .venv/bin/activate
pytest --cov=preston --cov-report=xml
- name: Upload coverage
run: bash <(curl -s https://codecov.io/bash)