Skip to content

Bump actions/setup-python from 4 to 5 #459

Bump actions/setup-python from 4 to 5

Bump actions/setup-python from 4 to 5 #459

name: Test Requirements on Ubuntu
on: [push]
#defaults:
# run:
# working-directory: wrdir
jobs:
#deploy:
# runs-on: windows-latest
# steps:
# - name: install readline
# run: python -m pip install readline
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest] #,windows-latest
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{matrix.python-version}}
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python-version}}
# Optional - x64 or x86 architecture, defaults to x64
architecture: 'x64'
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: pip Upgrade
run: python -m pip install --upgrade pip
- name: install requirements.txt
run: python -m pip install -r requirements.txt
- name: install hiphp-linux/requirements-linux.txt
run: python -m pip install -r hiphp-linux/requirements-linux.txt