Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07e742c commit ee6ab90Copy full SHA for ee6ab90
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,44 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
9
10
11
+defaults:
12
+ run:
13
+ shell: bash -l {0}
14
15
+jobs:
16
17
+ runs-on: ${{ matrix.os }}
18
19
+ strategy:
20
+ fail-fast: false
21
+ matrix:
22
+ os: [ubuntu-latest]
23
+ python-version: [3.9]
24
25
+ steps:
26
+ - name: Checkout
27
+ uses: actions/checkout@v2
28
29
+ - name: Setup conda
30
+ uses: conda-incubator/setup-miniconda@v2
31
+ with:
32
+ python-version: ${{ matrix.python-version }}
33
+ mamba-version: "*"
34
+ auto-activate-base: false
35
+ channels: conda-forge
36
37
+ - name: Install dependencies
38
+ run: mamba install ipython matplotlib flake8
39
40
+ - name: Install package
41
+ run: pip install .
42
43
+ - name: Test flake8
44
+ run: flake8 matplotlib_inline --ignore=E501,W504,W503
0 commit comments