Updating requirements for poetry #215
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: main | |
on: [push, pull_request] | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache things | |
uses: actions/cache@v3 | |
with: | |
key: ${{ runner.os }} | |
path: | | |
~/.cache | |
~/.poetry | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
curl -sSL https://install.python-poetry.org | python3 - | |
export POETRY_HOME=$HOME/.poetry/bin | |
echo "$POETRY_HOME" >>$GITHUB_PATH | |
export PATH="$POETRY_HOME:$PATH" | |
poetry install --with=dev | |
- name: Run pre-commit | |
run: | | |
poetry run pre-commit run -av | |
- name: test executable help output | |
run: | | |
poetry run ./tests/test_binary_help_output.py | |
# - name: run pytest | |
# run: | | |
# poetry run pytest -vv |