forked from galaxyproject/planemo
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (37 loc) · 945 Bytes
/
ci.yaml
File metadata and controls
38 lines (37 loc) · 945 Bytes
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
name: Python CI
on: [push, pull_request]
env:
PLANEMO_SKIP_REDUNDANT_TESTS: 1
PLANEMO_ENABLE_POSTGRES_TESTS: 1
PLANEMO_SKIP_GALAXY_CWL_TESTS: 1
PLANEMO_TEST_WORKFLOW_RUN_PROFILE: 1
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [2.7, 3.7]
tox-action:
- lint
- lint_readme
- lint_docs
- quick
- unit
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
submodules: true
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox coveralls
- name: Test with tox
run: |
export TOXENV=$(echo $TOXENV | sed 's/\.//') && tox
env:
TOXENV: py${{ matrix.python-version }}-${{ matrix.tox-action }}