test #11
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
name: LazyLLM ci | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- lwj/add_CI | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- "**.md" | |
- ".github/ISSUE_TEMPLATE/**" | |
- ".git*" | |
env: | |
CI_PATH: '/home/mnt/platform_ci/GitHub/${{ github.repository }}/${GITHUB_RUN_NUMBER}' | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Create custom directory | |
run: | | |
set -ex | |
echo $CI_PATH | |
mkdir -p $CI_PATH | |
- name: Move code to custom directory | |
run: mv $GITHUB_WORKSPACE/* $CI_PATH/ | |
- name: Run tests | |
run: | | |
cd $CI_PATH | |
echo "test" | |
pwd | |
ls | |
whoami |