Skip to content

Commit

Permalink
Poetry Tweaks (#747)
Browse files Browse the repository at this point in the history
* Install Poetry exporter plugin

* Update .github/workflows/tests.yml

Co-authored-by: Chinedum Echeta <[email protected]>

---------

Co-authored-by: Chinedum Echeta <[email protected]>
  • Loading branch information
ross-p-smith and cecheta authored Apr 24, 2024
1 parent f964e72 commit 66d06b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ pip install --upgrade pip

pip install poetry

# https://pypi.org/project/poetry-plugin-export/
pip install poetry-plugin-export
poetry config warnings.export false

poetry install --with dev

poetry run pre-commit install
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pip install poetry
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.11"
architecture: x64
cache: pip
cache-dependency-path: "**/pyproject.toml"
- name: Install Poetry
run: |
pip install poetry
- name: Install dependencies
cache: 'poetry'
- name: Install dependencies through poetry
run: |
poetry install
- name: Get coverage artifact ID
Expand Down

0 comments on commit 66d06b6

Please sign in to comment.