Skip to content

Commit

Permalink
fix: 🐛 Fix the github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dancoon committed Jan 22, 2024
1 parent cbf0501 commit 257507c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ jobs:
with:
python-version: 3.12

- name: Install Poetry
- name: Install dependencies
run: |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
- name: Add Poetry to Path
run: |
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Configure for Test PyPI
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
run: |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
- name: Add Poetry to Path
run: |
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run tests
Expand Down

0 comments on commit 257507c

Please sign in to comment.