diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 70aa3be8..40ee1211 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,6 @@ on: jobs: lint: runs-on: ubuntu-latest - steps: - name: Checkout code uses: actions/checkout@v4 @@ -36,26 +35,32 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 + - name: Set up python uses: actions/setup-python@v5 with: python-version: '3.10.9' + - name: Install Poetry uses: snok/install-poetry@v1 with: version: ${{ env.POETRY_VERSION }} + - name: Install deps shell: bash - run: | - pwd - ls - cp LazyLLM-Env/poetry.lock . && poetry install + run: cp LazyLLM-Env/poetry.lock . && poetry install + - name: Build shell: bash run: poetry build + - name: Test installing built package shell: bash run: python -m pip install . + - name: Test import shell: bash working-directory: ${{ vars.RUNNER_TEMP }}