Skip to content

Commit

Permalink
Try to fix poetry python version to use
Browse files Browse the repository at this point in the history
  • Loading branch information
gmsantos committed May 28, 2022
1 parent 4dee7e4 commit 6c62b4d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ jobs:
with:
python-version: "3.7"
cache: "poetry"
cache-dependency-path: "**/poetry.lock"

- name: Install dependencies
run: poetry install
run: |
poetry env use "3.7"
poetry install
- name: Deploy docs
run: poetry run portray on_github_pages -f
5 changes: 3 additions & 2 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ jobs:
with:
python-version: "3.7"
cache: "poetry"
cache-dependency-path: "**/poetry.lock"

- name: Install dependencies
run: poetry install
run: |
poetry env use "3.7"
poetry install
- name: Bump version number
run: poetry version ${{ github.event.release.tag_name }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
cache-dependency-path: "**/poetry.lock"

- name: Install dependencies
run: poetry install
run: |
poetry env use "${{ matrix.python-version }}"
poetry install
- name: Run Checks
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ jobs:
with:
python-version: "3.7"
cache: "poetry"
cache-dependency-path: "**/poetry.lock"

- name: Install dependencies
run: poetry install
run: |
poetry env use "3.7"
poetry install
- name: Bump version number
run: poetry version ${{ github.event.release.tag_name }}
Expand Down

0 comments on commit 6c62b4d

Please sign in to comment.