[Snyk] Security upgrade pyyaml from 5.3 to 5.4 #35
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: Django CI | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python: ["3.6", "3.7", "3.8"] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Selenium Chrome Driver (OSX) | |
if: runner.os == 'macOs' | |
run: brew install --cask chromedriver | |
- name: Setup Python ${{ matrix.python }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run tests | |
env: | |
SECRET_KEY: fake-secret-key | |
run: | | |
cp .env.example .env | |
python manage.py test |