Skip to content

Commit

Permalink
Merge pull request #249 from gaphor/simplify-poetry-action
Browse files Browse the repository at this point in the history
Use Action to Turn off Virtualenvs
  • Loading branch information
danyeaw committed Jan 8, 2020
2 parents 9cd6a70 + a32868f commit 8d14156
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Expand Up @@ -52,11 +52,9 @@ jobs:
--no-install-recommends -y xvfb python3-dev python3-gi
python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev libcairo2-dev
- name: Install Poetry
uses: dschep/install-poetry-action@v1.2
uses: dschep/install-poetry-action@v1.3
with:
version: 1.0.0b3
- name: Turn off Virtualenvs
run: poetry config virtualenvs.create false
- name: Install Python Dependencies
run: poetry install
- name: Test with Pytest
Expand Down Expand Up @@ -116,11 +114,9 @@ jobs:
- name: Install macOS Dependencies
run: brew install gobject-introspection gtk+3 adwaita-icon-theme
- name: Install Poetry
uses: dschep/install-poetry-action@v1.2
uses: dschep/install-poetry-action@v1.3
with:
version: 1.0.0b3
- name: Turn off Virtualenvs
run: poetry config virtualenvs.create false
- name: Use Python Dependency Cache
uses: actions/cache@v1.0.3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
python-version: '3.x'
- name: Install Poetry
uses: dschep/install-poetry-action@v1.2
uses: dschep/install-poetry-action@v1.3
with:
version: 1.0.0b3
- name: Install Dependencies
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Expand Up @@ -56,11 +56,9 @@ jobs:
- name: Install Dependencies
run: brew install gobject-introspection gtk+3 adwaita-icon-theme
- name: Install Poetry
uses: dschep/install-poetry-action@v1.2
uses: dschep/install-poetry-action@v1.3
with:
version: 1.0.0b3
- name: Turn off Virtualenvs
run: poetry config virtualenvs.create false
- name: Use Python Dependency Cache
uses: actions/cache@v1.0.3
with:
Expand Down

0 comments on commit 8d14156

Please sign in to comment.