Skip to content

Introduce Poetry in generated project #30

Introduce Poetry in generated project

Introduce Poetry in generated project #30

Workflow file for this run

name: Lint and test
on:
- push
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false
- name: Pre-install dependencies
run: |
make install_lint_requirements
make install_test_requirements
- name: Lint
run: |
make lint
- name: Test
run: |
make test