Skip to content

Make poetry version configurable, fix Docker build Warnings #45

Make poetry version configurable, fix Docker build Warnings

Make poetry version configurable, fix Docker build Warnings #45

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
env:
POETRY_VERSION: 1.8.3
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: "Setup: Python 3.11"
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry==$POETRY_VERSION
- name: Lock pyproject.toml in Test Project
run: |
poetry -C tests/dummy_project/ lock
- name: Run unit tests
run: |
poetry install
poetry run pytest