From 208eccefd432fd531dc4681d60d66356ceb6010e Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Mon, 13 Mar 2023 10:57:16 +0600 Subject: updated python versiions in CI (#1663) * updated python versiions in CI * updated python versiions in CI with * updated tox * updated ci * Update .github/workflows/ci.yaml * Update .github/workflows/ci.yaml * Update .github/workflows/ci.yaml --- .github/workflows/ci.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 92233b17..cdab2e01 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7,3.8,3.9] + python-version: [3.7,3.8,3.9,"3.10"] steps: - name: Install system packages run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev @@ -29,12 +29,10 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7,3.8,3.9] + python-version: [3.8,3.9,"3.10"] experimental: [false] include: - - python-version: pypy-3.7 - experimental: true - - python-version: pypy-3.8 + - python-version: pypy-3.9 experimental: true steps: - name: Install system packages @@ -48,7 +46,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: pip install --upgrade pip setuptools wheel tox tox-docker - # Tox fails if a Python versions contains a hyphen, this changes "pypy-3.8" to "pypy3.8". + # Tox fails if a Python versions contains a hyphen, this changes "pypy-3.9" to "pypy3.9". - name: Determine Python version run: echo PYTHON_VERSION=$(echo ${{ matrix.python-version }} | sed s/-//) >> $GITHUB_ENV - name: Run AMQP integration tests @@ -58,7 +56,7 @@ jobs: - name: Run MongoDB integration tests run: tox -v -e ${{ env.PYTHON_VERSION }}-linux-integration-py-mongodb -- -v - name: Run kafka integration tests - if: ${{ env.PYTHON_VERSION != 'pypy3.7' && env.PYTHON_VERSION != 'pypy3.8' }} + if: ${{ env.PYTHON_VERSION != 'pypy3.9'}} run: tox -v -e ${{ env.PYTHON_VERSION }}-linux-integration-py-kafka -- -v #################### Linters and checkers #################### @@ -67,7 +65,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.9] + python-version: ["3.10"] steps: - name: Install system packages run: sudo apt update && sudo apt-get install libcurl4-openssl-dev libssl-dev -- cgit v1.2.1