Skip to content

Commit

Permalink
Fix job
Browse files Browse the repository at this point in the history
  • Loading branch information
judtinzhang committed Apr 16, 2024
1 parent c97d387 commit beaf219
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/build-deploy.yaml
Expand Up @@ -33,25 +33,14 @@ jobs:
cd ${{ inputs.path }}
pip install pipenv
pipenv install --deploy --dev
if: ${{ inputs.dependencyManager == 'pipenv' }}
- name: Install Poetry
uses: snok/install-poetry@v1
if: ${{ inputs.dependencyManager == 'poetry' }}
- name: Install Dependencies (poetry)
run: |-
cd ${{ inputs.path }}
poetry install --no-root
if: ${{ inputs.dependencyManager == 'poetry' }}
- name: Lint (flake8)
run: |-
cd ${{ inputs.path }}
${{ inputs.dependencyManager }} run flake8 .
if: ${{ inputs.flake }}
- name: Lint (black)
run: |-
cd ${{ inputs.path }}
${{ inputs.dependencyManager }} run black --check .
if: ${{ inputs.black }}
container:
image: python:${{ inputs.pythonVersion }}
env:
Expand Down

0 comments on commit beaf219

Please sign in to comment.