Merge pull request #486 from appsembler/ajs-general-courses-ordering-… #731
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: figures tests | |
on: | |
push: | |
branches: | |
- main | |
- develop/maple | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
include: | |
- python: 2.7 | |
tox-env: py27-ginkgo | |
- python: 2.7 | |
tox-env: py27-hawthorn | |
- python: 2.7 | |
tox-env: py27-hawthorn_multisite | |
- python: 3.5 | |
tox-env: py35-juniper_community | |
- python: 3.5 | |
tox-env: py35-juniper_multisite | |
- python: 3.8 | |
tox-env: lint | |
- python: 3.8 | |
tox-env: edx_lint_check | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: install dependencies | |
run: | | |
pip install tox==3.9 flake8 | |
- name: Uses Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- run: npm install -g yarn | |
- run: | | |
cd frontend && yarn install && cd .. | |
- name: flake8 | |
run: | | |
flake8 figures | |
- name: run tox | |
run: | | |
tox -e ${{ matrix.tox-env }} |