Skip to content

Python Requirements Update #1513

Python Requirements Update

Python Requirements Update #1513

Workflow file for this run

name: Django CI
on:
push:
branches: [master]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [py38]
django-version: [django32, django40]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- name: Start container
run: |
docker-compose -f .github/docker-compose-github.yml up -d
- name: Install test dependencies and run validation
run: |
docker exec -e TOXENV=${{ matrix.python-version }}-${{ matrix.django-version }} -u root enterprise.catalog.app /edx/app/enterprise_catalog/enterprise_catalog/validate.sh
- name: Code Coverage
if: matrix.python-version == 'py38' && matrix.django-version=='django32'
uses: codecov/codecov-action@v1