Merge pull request #758 from openedx/asheehan-edx/fixing-query-admin #1871
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: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [py38] | |
django-version: [django42] | |
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=='django42' | |
uses: codecov/codecov-action@v1 |