Skip to content

Commit

Permalink
using a poetry github action?
Browse files Browse the repository at this point in the history
  • Loading branch information
kageurufu committed Feb 10, 2022
1 parent bb3e8e1 commit 7169bd6
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,24 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
defaults:
run:
shell: bash
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: '3.9.x'
- run: |
pip install --user -U pip poetry
poetry install
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Poetry install
run: poetry install --no-interaction --no-root
- name: Run the build process
run: poetry run pyinstaller --onefile preprocess_cancellation.py

- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 7169bd6

Please sign in to comment.