-
Notifications
You must be signed in to change notification settings - Fork 37
51 lines (49 loc) · 1.2 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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 }}