diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index c55d7bd144..e898b7694f 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,12 +234,9 @@ 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' - name: Setup CI services run: docker-compose up -d @@ -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