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
44on : [push, pull_request]
55
66jobs :
7- build :
7+ test-mac-linux :
88
99 runs-on : ${{ matrix.os }}
1010 strategy :
3333 fi
3434 ;;
3535 macOS)
36- brew install ccache
37- brew tap homebrew/cask-fonts
38- brew install font-noto-sans-cjk-sc
3936 ;;
4037 esac
4138
4845 run : |
4946 flake8 matplotview --count --select=E9,F63,F7,F82 --show-source --statistics
5047 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
5170 - name : Test with pytest
5271 run : |
5372 pytest
You can’t perform that action at this time.
0 commit comments