Upgrade pip

This commit is contained in:
Elias Müller 2022-07-09 19:02:27 +02:00 committed by jaseg
parent 9626d790f5
commit d027abcc3a

View file

@ -26,10 +26,6 @@ jobs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: 'Install pip'
run: |
function execute() { echo -e "\033[0;34m$*\033[0m"; "$@"; }
execute python -m pip install --upgrade pip
- name: 'Update Packages' - name: 'Update Packages'
run: | run: |
function execute() { echo -e "\033[0;34m$*\033[0m"; "$@"; } function execute() { echo -e "\033[0;34m$*\033[0m"; "$@"; }
@ -47,6 +43,7 @@ jobs:
function execute() { echo -e "\033[0;34m$*\033[0m"; "$@"; } function execute() { echo -e "\033[0;34m$*\033[0m"; "$@"; }
execute python -m venv venv execute python -m venv venv
execute source venv/bin/activate execute source venv/bin/activate
execute python -m pip install --upgrade pip
execute python -m pip install wheel execute python -m pip install wheel
execute python -m pip install -r tests/requirements.txt execute python -m pip install -r tests/requirements.txt
- name: 'Run Python Tests' - name: 'Run Python Tests'