File tree Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Expand file tree Collapse file tree 1 file changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: Validate Python Code
4
4
on : [push, pull_request]
5
5
6
6
jobs :
7
- build :
7
+ test-mac-linux :
8
8
9
9
runs-on : ${{ matrix.os }}
10
10
strategy :
33
33
fi
34
34
;;
35
35
macOS)
36
- brew install ccache
37
- brew tap homebrew/cask-fonts
38
- brew install font-noto-sans-cjk-sc
39
36
;;
40
37
esac
41
38
48
45
run : |
49
46
flake8 matplotview --count --select=E9,F63,F7,F82 --show-source --statistics
50
47
flake8 matplotview --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
48
+ - name : Test with pytest
49
+ run : |
50
+ pytest
51
+
52
+ test-windows :
53
+
54
+ runs-on : windows-latest
55
+ strategy :
56
+ matrix :
57
+ python-version : [ "3.7", "3.8", "3.9" ]
58
+
59
+ steps :
60
+ - uses : actions/checkout@v3
61
+ - name : Set up Python ${{ matrix.python-version }}
62
+ uses : actions/setup-python@v3
63
+ with :
64
+ python-version : ${{ matrix.python-version }}
65
+
66
+ - name : Install dependencies
67
+ run : |
68
+ python -m pip install --upgrade pip
69
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
51
70
- name : Test with pytest
52
71
run : |
53
72
pytest
You can’t perform that action at this time.
0 commit comments