Skip to content

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2 #65

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2

[Snyk] Security upgrade urllib3 from 2.0.7 to 2.2.2 #65

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Kryptoxin
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Check for errors
run: flake8 . --count --show-source --statistics
- name: Test with unittest
run: python -m unittest discover tests