From 700751c5ee011ccb829d7186af0d12396d6b5924 Mon Sep 17 00:00:00 2001 From: Daniel-Robbins Date: Wed, 10 Jan 2024 03:37:54 +0000 Subject: [PATCH] Fix flake order --- .github/workflows/pr_ci.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pr_ci.yaml b/.github/workflows/pr_ci.yaml index d7ecf19942e..1e9c779259d 100644 --- a/.github/workflows/pr_ci.yaml +++ b/.github/workflows/pr_ci.yaml @@ -23,16 +23,6 @@ jobs: run: | ccache -sv - - name: Code style check - run: | - export PYENV_ROOT="$HOME/.pyenv" - [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" - eval "$(pyenv init -)" - pyenv local 3.11 - python3 -m pip install flake8 - cd chdb && python3 -m flake8 - working-directory: /home/ubuntu/pr_runner/chdb - - name: Copy submodules run: cp -a /builder_cache/contrib /home/ubuntu/pr_runner/chdb/ @@ -46,6 +36,16 @@ jobs: git status -v || true continue-on-error: true + - name: Code style check + run: | + export PYENV_ROOT="$HOME/.pyenv" + [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" + eval "$(pyenv init -)" + pyenv local 3.11 + python3 -m pip install flake8 + cd chdb && python3 -m flake8 + working-directory: /home/ubuntu/pr_runner/chdb + - name: Cleanup dist directory run: rm -rf /home/ubuntu/pr_runner/chdb/dist/*