Skip to content

Commit

Permalink
Attempt poetry install fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bilgelm committed Apr 22, 2024
1 parent cc18e53 commit 9d18b80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,11 @@ jobs:
- name: Detect and tag new version
id: check-version
if: steps.check-parent-commit.outputs.sha
uses: salsify/action-detect-and-tag-new-version@v2.0.3
uses: salsify/action-detect-and-tag-new-version@v2
with:
version-command: |
bash -o pipefail -c "poetry version | awk '{ print \$2 }'"
- name: Bump version for developmental release
if: ! steps.check-version.outputs.tag
run: |
poetry version patch &&
version=$(poetry version | awk '{ print $2 }') &&
poetry version $version.dev.$(date +%s)
- name: Build package
run: |
poetry build --ansi
Expand All @@ -71,7 +64,7 @@ jobs:
repository-url: https://test.pypi.org/legacy/

- name: Publish the release notes
uses: release-drafter/release-drafter@v6.0.0
uses: release-drafter/release-drafter@v6
with:
publish: ${{ steps.check-version.outputs.tag != '' }}
tag: ${{ steps.check-version.outputs.tag }}
Expand Down
14 changes: 2 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@ jobs:
- name: Check out the repository
uses: actions/checkout@v4

- name: Install R
uses: r-lib/actions/setup-r@v2

- name: Install R dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
packages: |
github::mathesong/kinfitr
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
with:
Expand All @@ -62,9 +53,8 @@ jobs:
- name: Install Poetry
run: |
pwd
ls -aR
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
constraint_file=.github/workflows/constraints.txt
pipx install --pip-args=--constraint=$constraint_file poetry
poetry --version
- name: Install Nox
Expand Down

0 comments on commit 9d18b80

Please sign in to comment.