Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lwj-st authored Jul 9, 2024
1 parent f493f56 commit aac8c74
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Create custom directory
run: |
set -ex
echo ${{ env.LAZYLLM_MOONSHOTAI_API_KEY }}
echo ${{ env.CI_PATH }}
mkdir -p ${{ env.CI_PATH }}
- name: Clean custom directory
run: |
set -ex
if [ -d "${{ env.CI_PATH }}" ]; then
rm -rf ${{ env.CI_PATH }}/*
fi
- name: Move code to custom directory
run: |
set -ex
mv $GITHUB_WORKSPACE/* ${{ env.CI_PATH }}/
ChargeTests:
runs-on: ubuntu-latest
needs: [ Clone ]
Expand All @@ -52,7 +33,7 @@ jobs:
steps:
- name: RunTests
run: |
env
echo $LAZYLLM_MOONSHOTAI_API_KEY
cd ${{ env.CI_PATH }}
export PYTHONPATH=$PWD:$PYTHONPATH
# python -m pytest tests/charge_tests/

0 comments on commit aac8c74

Please sign in to comment.