Skip to content

Commit

Permalink
Another try at workflow dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
linsomniac committed Oct 25, 2023
1 parent 210535d commit a9b4e32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest poetry
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install dependencies (poetry)
run: |
poetry self install
if [ -f pyproject.toml ]; then pip install .; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build poetry
- name: Install dependencies (poetry)
run: |
poetry self install
pip install build
- name: Extract version from tag
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Update version in pyproject.toml
Expand Down

0 comments on commit a9b4e32

Please sign in to comment.