From 5cce874720eea369b2bc5cda41d0d8b097674375 Mon Sep 17 00:00:00 2001 From: Ryszard Rozak Date: Tue, 17 Dec 2024 14:44:48 +0100 Subject: [PATCH] Move setup tests to secret steps, move pip after setup repository Signed-off-by: Ryszard Rozak --- .github/workflows/tests.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aa385b2d..a108effd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -68,23 +68,18 @@ jobs: sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* yum update -y yum install -y git tar wget libnsl bc time make gcc gcc-c++ perl python3 python3-pip - pip3 install -r requirements.txt - name: Setup repository uses: actions/checkout@v4 - name: Get Submodules - run: | - git submodule update --init --recursive + run: git submodule update --init --recursive - - name: Install Pyenv - run: | - ./install.sh + - name: Install Python Packages + run: pip3 install -r requirements.txt - - name: Setup Tests - run: | - make install-uvm - source activate.sh + - name: Install Pyenv + run: ./install.sh - name: Run Tests run: _secret_run_i3c_tests