File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+ schedule :
9+ # 17:00 on Friday (UTC)
10+ - cron : " 00 17 * * 5"
11+
12+ jobs :
13+ build :
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ matrix :
17+ os : [ubuntu-latest, macos-latest, windows-latest]
18+ python-version : ['3.8', '3.9', '3.10', '3.11']
19+ fail-fast : False
20+
21+ steps :
22+ - uses : actions/checkout@v3
23+ - name : Set up Python ${{ matrix.python-version }}
24+ uses : actions/setup-python@v4
25+ with :
26+ python-version : ${{ matrix.python-version }}
27+
28+ - name : Install
29+ run : make ci-install
30+
31+ - name : Run tests, mypy and linting
32+ run : make ci-test
33+ shell : bash
Original file line number Diff line number Diff line change 1+ PYTHON =python
2+
3+ all : help
4+
5+ help : # # Show this help
6+ @echo -e " Specify a command. The choices are:\n"
7+ @grep -E ' ^[0-9a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | awk ' BEGIN {FS = ":.*?## "}; {printf " \033[0;36m%-18s\033[m %s\n", $$1, $$2}'
8+ @echo " "
9+ .PHONY : help
10+
11+ ci-install :
12+ make -C papis-html ci-install
13+ .PHONY : ci-install
14+
15+ ci-test :
16+ make -C papis-html ci-lint
17+ .PHONY : ci-test
You can’t perform that action at this time.
0 commit comments