Skip to content

fix(interim): step to fix local incompatibility with nasu1719pr.xlsx #84

fix(interim): step to fix local incompatibility with nasu1719pr.xlsx

fix(interim): step to fix local incompatibility with nasu1719pr.xlsx #84

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ main, projections, uk-model-refactor ]
pull_request:
branches: [ main, projections, uk-model-refactor ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and test environment
run: |
pip3 install poetry
poetry install --with dev
- name: pre-commit
run: |
# stop the build if it doesn't pass pre-commit
poetry run pre-commit install
poetry run pre-commit run --all-files
- name: Test with pytest
run: |
poetry run pytest