Skip to content

Commit

Permalink
verify installed python version
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfalcao committed Aug 4, 2023
1 parent f54f83f commit 001a26e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,13 @@ jobs:
run: pyenv versions

- name: verify default installation
run: python --version
run: test "$(python --version | awk '{ print $NF }')" = "3.7.16"

- name: verify 3.8.16 installation
run: pyenv local 3.8.16 && test "$(python --version | awk '{ print $NF }')" = "3.8.16"

- name: verify pip version on python 3.7.16 installation
run: pyenv local 3.7.16 && pip --version
run: pyenv local 3.7.16 && test "$(pip --version | awk '{ print $2 }')" = "23.2.1"

- name: verify pip version on python 3.8.16 installation
run: pyenv local 3.8.16 && pip --version
run: pyenv local 3.8.16 && test "$(pip --version | awk '{ print $2 }')" = "23.2.1"

0 comments on commit 001a26e

Please sign in to comment.