Skip to content

[Snyk] Security upgrade gunicorn from 19.9.0 to 22.0.0 #192

[Snyk] Security upgrade gunicorn from 19.9.0 to 22.0.0

[Snyk] Security upgrade gunicorn from 19.9.0 to 22.0.0 #192

Workflow file for this run

name: Build and test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.platform }}
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7]
platform: [ubuntu-latest]
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 -r requirements.txt
pip install coveralls
- name: Run linter
run: flake8 .
- name: Run Tests
run: |
coverage run --source=task_router manage.py test --settings=twilio_sample_project.settings.test
env:
TWILIO_ACCOUNT_SID: ACXXXXXXXXXXXXXXXXX
TWILIO_AUTH_TOKEN: YYYYYYYYYYYYYYYYYY
TWILIO_NUMBER: +15555555555
- name: Coveralls
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}