ci: debug. #13
Workflow file for this run
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
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- develop-lx | |
name: "Tests" | |
jobs: | |
gtest: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
submodules: true | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
cache: 'pip' # caching pip dependencies | |
- run: cd test && pip install -r requirements.txt | |
- name: Build | |
run: | | |
cmake -DTEST=on -Bbuild && cmake --build build --target all | |
- name: Make Data | |
run: | |
cd test && bash test.sh | |
- name: Test | |
uses: gacts/run-and-post-run@v1 | |
env: | |
FEISHU_TOKEN: ${{ secrets.FEISHU_TOKEN }} | |
FEISHU_AT: ${{ secrets.FEISHU_AT }} | |
with: | |
working-directory: bin | |
run: ls && ./MLLM_TEST --gtest_output=json | |
post: | | |
COMMIT_MESSAGE="$(git show -s --format=%s)" python3 ../tools/ci/report.py | |