Skip to content

Commit

Permalink
Fix CI failing
Browse files Browse the repository at this point in the history
Signed-off-by: Shoham Elias <[email protected]>
  • Loading branch information
shohamazon committed Oct 13, 2024
1 parent 855bb33 commit 26c24c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,19 +218,23 @@ jobs:
if: always()
working-directory: ./python
run: |
python -m venv venv
ource venv/bin/activate
python -m pip install --upgrade pip
pip install flake8 isort black
- name: Lint python with isort
if: always()
working-directory: ./python
run: |
source venv/bin/activate
isort . --profile black --check --diff
- name: Lint python with flake8
if: always()
working-directory: ./python
run: |
source venv/bin/activate
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --extend-ignore=E230 --exclude=python/glide/protobuf,.env/*
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
Expand All @@ -240,6 +244,7 @@ jobs:
if: always()
working-directory: ./python
run: |
source venv/bin/activate
black --check --diff .
build-amazonlinux-latest:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/start-self-hosted-runner/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ runs:
- name: Start EC2 self hosted runner
shell: bash
run: |
sudo apt update
sudo apt install awscli -y
command_id=$(aws ssm send-command --instance-ids ${{ inputs.ec2-instance-id }} --document-name StartGithubSelfHostedRunner --query Command.CommandId --output text)
Expand Down

0 comments on commit 26c24c1

Please sign in to comment.