Bump django from 3.2.0 to 4.2.4 #182
Workflow file for this run
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: 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 }} |