Skip to content

Support the deprecation of asyncore in python 3.12 #485

Support the deprecation of asyncore in python 3.12

Support the deprecation of asyncore in python 3.12 #485

name: Integration tests
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
tests:
name: test ${{ matrix.event_loop_manager }} (${{ matrix.python-version }})
if: "!contains(github.event.pull_request.labels.*.name, 'disable-integration-tests')"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ubuntu-latest

Check failure on line 19 in .github/workflows/integration-tests.yml

View workflow run for this annotation

GitHub Actions / Integration tests

Invalid workflow file

The workflow is not valid. .github/workflows/integration-tests.yml (Line: 19, Col: 13): Unexpected value 'ubuntu-latest'
python-version: ["3.8.16", "3.9.17", "3.10.12", "3.11.5", "3.12.0b4"]
event_loop_manager: ["libev", "asyncio", "asyncore", "twisted", "gevent", "eventlet"]
exclude:
- os: ubuntu-latest
python-version: "3.12.0b4"
event_loop_manager: "asyncore"
steps:
- uses: actions/checkout@v3
- name: setup pyenv ${{ matrix.python-version }}
uses: "gabrielfalcao/pyenv-action@v16"
with:
default: 2.7.14
versions: ${{ matrix.python-version }}
- name: Test with pytest
run: |
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}
./ci/run_integration_test.sh tests/integration/standard/ tests/integration/cqlengine/