Skip to content

Fix learn.customer.io links in readme (#105) #101

Fix learn.customer.io links in readme (#105)

Fix learn.customer.io links in readme (#105) #101

Workflow file for this run

name: build
on: [ push ]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
python: [ '3.6', '3.7', '3.8','3.9' ]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
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