-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e478c22
commit b8c9106
Showing
3 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Code Style CI | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ci-test: | ||
runs-on: tzrec-codestyle-runner | ||
container: | ||
image: mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easyrec/tzrec-devel:0.5 | ||
steps: | ||
- name: FetchCommit ${{ github.event.pull_request.head.sha }} | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: RunCodeStyleCI | ||
id: run_codestyle_ci | ||
run: | | ||
pip install -r requirements.txt | ||
pre-commit run -a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: PyTyping CI | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ci-test: | ||
runs-on: tzrec-codestyle-runner | ||
container: | ||
image: mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easyrec/tzrec-devel:0.5 | ||
steps: | ||
- name: FetchCommit ${{ github.event.pull_request.head.sha }} | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: RunPyTypingCI | ||
id: run_pytyping_ci | ||
run: | | ||
pip install -r requirements.txt | ||
bash scripts/gen_proto.sh | ||
python scripts/pyre_check.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Unit Test CI | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
ci-test: | ||
runs-on: tzrec-runner | ||
container: | ||
image: mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easyrec/tzrec-devel:0.5 | ||
options: --gpus all --ipc host | ||
steps: | ||
- name: FetchCommit ${{ github.event.pull_request.head.sha }} | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: RunUnitTestCI | ||
id: run_unittest_ci | ||
run: bash scripts/ci_test.sh |