Merge pull request #246 from edx/jenkins/upgrade-python-requirements-… #217
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: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8"] | |
toxenv: [django32, quality, pii_check, check_keywords] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install pip | |
run: pip install -r requirements/pip.txt | |
- name: Install requirements | |
run: pip install -r requirements/test.txt | |
- name: Run tests | |
env: | |
TOXENV: ${{ matrix.toxenv }} | |
run: tox | |
- name: Codecov | |
if: matrix.python-version == '3.8' && matrix.toxenv == 'django32' | |
uses: codecov/codecov-action@v2 |