Skip to content

Commit

Permalink
add poetry to run workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnebulalol committed Jul 28, 2022
1 parent 67c79fe commit 519bd9c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,21 @@ jobs:
with:
python-version: 3.9

- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
installer-parallel: true

# Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
poetry install
# Run script
- name: Run script
run: python main.py -u ${{ github.event.inputs.ipa }} -n -d
run: poetry run python3 main.py -u ${{ github.event.inputs.ipa }} -n -d

# Upload test artifact
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 519bd9c

Please sign in to comment.