Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
Updated workflow to change python version and print installed dependencies
  • Loading branch information
fabriciocravo authored Jul 15, 2024
1 parent 7f5344c commit 921b549
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: List installed packages
run: |
pip freeze
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down

0 comments on commit 921b549

Please sign in to comment.