refactor: rollback hiding course price when zero feature #58
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: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
concurrency: | |
group: ci-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.8'] | |
toxenv: [quality, docs, django32-celery50, django32-pii-annotations] | |
env: | |
RUNJSHINT: true | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- run: pip install -r requirements/ci.txt | |
- name: Run tox | |
env: | |
TOXENV: ${{ matrix.toxenv }} | |
run: tox | |
- name: Run code coverage | |
if: matrix.toxenv=='django32-celery50' # Only run this once as part of tests | |
run: codecov | |
- name: Run jshint | |
if: matrix.toxenv=='django32-celery50' # Only run this once as part of tests | |
run: | | |
npm ci | |
make jshint |