From 3cc50afe1423c92b49f0f6b90250350eb7662afc Mon Sep 17 00:00:00 2001 From: Dmitriy Gertsog Date: Sat, 28 Dec 2024 13:25:13 +0300 Subject: [PATCH] ci: remove extra environment preparations prepare-[ce|ee]-test-env - fixed preparing test requirements. static-code-check - removed extra steps what was did on previous steps. Changes are needed to adjust the CI/CD settings to match their step name. Which in turn allows you to properly manage the order of actions during the build testing. --- .github/actions/prepare-ce-test-env/action.yml | 1 + .github/actions/prepare-ee-test-env/action.yml | 1 + .github/actions/static-code-check/action.yml | 11 ----------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/actions/prepare-ce-test-env/action.yml b/.github/actions/prepare-ce-test-env/action.yml index bb0a239d8..ad7530e59 100644 --- a/.github/actions/prepare-ce-test-env/action.yml +++ b/.github/actions/prepare-ce-test-env/action.yml @@ -71,4 +71,5 @@ runs: - name: Install test requirements run: | sudo apt -y install gdb + pip3 install -r test/requirements.txt shell: bash diff --git a/.github/actions/prepare-ee-test-env/action.yml b/.github/actions/prepare-ee-test-env/action.yml index 44e4d7a8e..d2dac997f 100644 --- a/.github/actions/prepare-ee-test-env/action.yml +++ b/.github/actions/prepare-ee-test-env/action.yml @@ -95,4 +95,5 @@ runs: - name: Install test requirements run: | sudo apt -y install gdb + pip3 install -r test/requirements.txt shell: bash diff --git a/.github/actions/static-code-check/action.yml b/.github/actions/static-code-check/action.yml index 5a601009f..e04da3e60 100644 --- a/.github/actions/static-code-check/action.yml +++ b/.github/actions/static-code-check/action.yml @@ -4,16 +4,6 @@ description: "Performs static code checks." runs: using: "composite" steps: - - name: Setup python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - - name: Install tests requirements - run: | - pip3 install -r test/requirements.txt - shell: bash - - name: Log versions run: | go version @@ -41,4 +31,3 @@ runs: - name: Python Linter run: python3 -m flake8 test shell: bash -