Skip to content

Bump requests from 2.31.0 to 2.32.0 #75

Bump requests from 2.31.0 to 2.32.0

Bump requests from 2.31.0 to 2.32.0 #75

name: End to End Tests
on:
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
jobs:
build:
if: github.actor == 'namaggarwal'
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.11]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest mock
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install current package
run: pip install .
- name: Test with pytest
env:
CONSUMER_KEY: ${{ secrets.CONSUMER_KEY }}
CONSUMER_SECRET: ${{ secrets.CONSUMER_KEY_SECRET }}
OAUTH_TOKEN: ${{ secrets.OAUTH_TOKEN }}
OAUTH_TOKEN_SECRET: ${{ secrets.OAUTH_TOKEN_SECRET }}
run: |
pytest e2e-tests