Skip to content

Commit 5be9ad0

Browse files
authored
Merge pull request #75 from phobson/update-ci
Start CI migration to GH Actions
2 parents 04dc8b4 + 49b2e6b commit 5be9ad0

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/black.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: black
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
black:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Black Code Formatter
11+
uses: lgeiger/black-action@v1.0.1
12+
with:
13+
args: ". --check"

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ matrix:
1313
- EXTRATESTERS=""
1414
- ARGS=""
1515
- python: 3.7
16+
env:
17+
- COVERAGE=true
18+
- EXTRATESTERS=""
19+
- ARGS=""
20+
- python: 3.8
1621
env:
1722
- COVERAGE=true
1823
- EXTRATESTERS="seaborn"
19-
- ARGS="--pep8 --mpl"
24+
- ARGS="--mpl"
2025

2126
before_install:
2227
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
@@ -29,7 +34,7 @@ before_install:
2934
install:
3035
- conda create --yes -n test python=$TRAVIS_PYTHON_VERSION numpy matplotlib docopt requests pyyaml
3136
- source activate test
32-
- conda install --yes --channel=conda-forge pytest-mpl pytest-cov pytest-pep8 ${EXTRATESTERS}
37+
- conda install --yes --channel=conda-forge pytest-mpl pytest-cov ${EXTRATESTERS}
3338
- if [ ${COVERAGE} = true ]; then conda install scipy --yes; fi
3439
- pip install codecov
3540
- pip install .

0 commit comments

Comments
 (0)