Skip to content

Bump version to 0.1.7 #107

Bump version to 0.1.7

Bump version to 0.1.7 #107

Workflow file for this run

name: test
on: [push, pull_request]
env:
# Task vars
python-version: 3.11
poetry-version: 1.5.1
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ env.python-version }}
- uses: pre-commit/action@v3.0.0
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: abatilo/actions-poetry@v2.3.0
with:
poetry-version: ${{ env.poetry-version }}
- uses: actions/setup-python@v4
with:
python-version: ${{ env.python-version }}
cache: poetry
- run: poetry install --no-root
- uses: actions/checkout@v3
with:
repository: newtheatre/history-project
path: content
- run: PYTHONPATH=nthp_api poetry run pytest
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: abatilo/actions-poetry@v2.1.0
with:
poetry-version: ${{ env.poetry-version }}
- uses: actions/setup-python@v4
with:
python-version: ${{ env.python-version }}
cache: poetry
- run: poetry install --no-root
- run: poetry run mypy