Skip to content

fix name in tool.poetry.scripts entry #557

fix name in tool.poetry.scripts entry

fix name in tool.poetry.scripts entry #557

Workflow file for this run

name: Python package
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
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 poetry
run: |
python -m pip install poetry
- name: Configure poetry
run: |
python -m poetry config virtualenvs.in-project true
- name: Cache the virtualenv
uses: actions/cache@v2
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}
- name: Check poetry.lock
run: |
python -m poetry check
- name: Install dependencies
run: |
python -m poetry install --with test
- name: lint
run: |
make lint
- name: test sdist
run: |
mkdir /tmp/test_sdist
python -m poetry build -f sdist -o /tmp/test_sdist
cd /tmp/test_sdist
pip install enochecker_test-*.tar.gz