Skip to content

test

test #15

Workflow file for this run

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:
Clone:
runs-on: tps_sco_nv
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}
- name: Create custom directory
run: |
set -ex
echo ${{ env.CI_PATH }}
mkdir -p ${{ env.CI_PATH }}
- name: Move code to custom directory
run: mv $GITHUB_WORKSPACE/* ${{ env.CI_PATH }}/
test:
runs-on: tps_sco_nv
needs: [Clone]
steps:
- name: test1
run: |
pwd
ls
whoami
- name: test2
run: |
cd ${{ env.CI_PATH }}
which python
pip list --format=freeze