From b820ae50940a3424e0d32ec0c95970422c09cf8f Mon Sep 17 00:00:00 2001 From: williamlardier Date: Thu, 22 Jun 2023 10:25:57 +0200 Subject: [PATCH] CLDSRV-402: remove python 2.7 from CI --- .github/workflows/tests.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c55d7bd144..491cbbdabc 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -226,9 +226,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: | - 2.7 - 3.9 + python-version: 3.9 - name: Setup CI environment uses: ./.github/actions/setup-ci - name: Setup matrix job artifacts directory @@ -236,13 +234,10 @@ jobs: run: | set -exu mkdir -p /tmp/artifacts/${{ matrix.job-name }}/ - - name: Setup python2 test environment + - name: Setup python test environment run: | sudo apt-get install -y libdigest-hmac-perl - pip install virtualenv==20.21.0 - virtualenv -p $(which python2) ~/.virtualenv/py2 - source ~/.virtualenv/py2/bin/activate - pip install 's3cmd==1.6.1' + pip install 's3cmd==2.3.0' - name: Setup CI services run: docker-compose up -d working-directory: .github/docker @@ -250,7 +245,6 @@ jobs: run: |- set -o pipefail; bash wait_for_local_port.bash 8000 40 - source ~/.virtualenv/py2/bin/activate yarn run ft_test | tee /tmp/artifacts/${{ matrix.job-name }}/tests.log - name: Upload logs to artifacts uses: scality/action-artifacts@v3