Bump pyjwt from 2.9.0 to 2.10.1 (#496) #323
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Python Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Python 3 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install python-dateutil backoff monotonic | |
pip install --user . | |
sudo pip install pylint==3.3.1 flake8 mock==3.0.5 python-dateutil aiohttp==3.9.1 | |
- name: Run tests | |
run: python -m unittest discover -s segment | |
# snyk: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# #- attach_workspace: { at: . } | |
# - run: pip3 install pipreqs | |
# - run: pip3 install --user appdirs | |
# - run: pipreqs . | |
# - run: pip3 install --user -r requirements.txt | |
# - run: curl -sL https://raw.githubusercontent.com/segmentio/snyk_helpers/master/initialization/snyk.sh | sh# | |
# test: | |
# #needs: ['coding-standard', 'lint'] | |
# runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# python: ['3.9', '3.10', '3.11'] | |
# coverage: [false] | |
# experimental: [false] | |
# include: | |
# # Run code coverage. | |
# - python: '3.9' | |
# coverage: true | |
# experimental: false | |
# - python: '3.10' | |
# coverage: true | |
# experimental: false | |
# - python: '3.11' | |
# coverage: true | |
# experimental: false |