From 75fc2c9c4cfbb8473b44bc2e8e70cabf823c3a8a 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-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/static-code-check/action.yml | 11 ----------- 2 files changed, 1 insertion(+), 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/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 -