File tree 3 files changed +39
-68
lines changed
3 files changed +39
-68
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Style Checks
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+
8
+ jobs :
9
+ style_check :
10
+ name : Style Checks
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ # Checkout current git repository
15
+ - name : Checkout
16
+
17
+
18
+ # Setup Miniconda
19
+ - name : Setup Miniconda
20
+
21
+ with :
22
+ python-version : 3.7
23
+ channels : conda-forge
24
+
25
+ - name : Install packages
26
+ shell : bash -l {0}
27
+ run : conda install --yes black flake8 pylint
28
+
29
+ - name : List installed packages
30
+ shell : bash -l {0}
31
+ run : conda list
32
+
33
+ - name : Formatting check (black and flake8)
34
+ shell : bash -l {0}
35
+ run : make check
36
+
37
+ - name : Linting (pylint)
38
+ shell : bash -l {0}
39
+ run : make lint
Original file line number Diff line number Diff line change 12
12
.. image :: http://img.shields.io/travis/GenericMappingTools/pygmt/master.svg?style=flat-square&label=Linux
13
13
:alt: Travis CI build status
14
14
:target: https://travis-ci.org/GenericMappingTools/pygmt
15
- .. image :: https://img.shields.io/azure-devops/build/GenericMappingTools/7682ad4e-76bb-4775-849e-7c4f8dce4e1a/3/master.svg?label=Mac|Windows&style=flat-square
16
- :alt: Azure Pipelines build status
17
- :target: https://dev.azure.com/GenericMappingTools/PyGMT/_build
18
15
.. image :: https://github.com/GenericMappingTools/pygmt/workflows/Tests/badge.svg
19
16
:alt: GitHub Actions build status
20
17
:target: https://github.com/GenericMappingTools/pygmt/actions
You can’t perform that action at this time.
0 commit comments