Skip to content

no latest

no latest #106

Workflow file for this run

name: build
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: [ '3.11.x', '3.12.x','3.13.x','3.14.x' ]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5.6.0
with:
python-version: ${{ matrix.python }}
- name: install dependencies for the minor version
run: |
python -m venv venv
. venv/bin/activate
export version=$(grep -v '^$' ${GITHUB_WORKSPACE}/requirements.txt | grep requests | awk -F'=' '{print $2}' )
pip install requests==$(echo $version)
- name: run tests
run: |
. venv/bin/activate
make test
deactivate
- name: reinstall to the latest version
run: |
python -m venv venv
. venv/bin/activate
pip install --upgrade requests
- name: run tests again
run: |
. venv/bin/activate
make test