From 0bcc66cd8b597ea827fbc30c0e365586b3681610 Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Mon, 9 Dec 2024 16:14:01 +0900 Subject: [PATCH] Add python 3.10 job (#14014) Signed-off-by: harupy <17039389+harupy@users.noreply.github.com> Signed-off-by: Harutaka Kawamura Signed-off-by: k99kurella --- .github/workflows/master.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 336f1a89d38a9..7a0facd42c299 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -97,6 +97,27 @@ jobs: --ignore-flavors --ignore=tests/examples --ignore=tests/recipes --ignore=tests/evaluate \ --ignore tests/deployments/server tests + py310: + if: github.event_name != 'pull_request' || github.event.pull_request.draft == false + runs-on: ubuntu-latest + timeout-minutes: 60 + steps: + - uses: actions/checkout@v4 + - uses: ./.github/actions/untracked + - uses: ./.github/actions/setup-python + with: + python-version: "3.10" + - uses: ./.github/actions/setup-pyenv + - uses: ./.github/actions/setup-java + - uses: ./.github/actions/cache-pip + - name: Install dependencies + run: | + pip install . + - uses: ./.github/actions/show-versions + - name: Run tests + run: | + python -c "import sys; assert sys.version_info[:2] == (3, 10), sys.version_info" + database: if: github.event_name != 'pull_request' || github.event.pull_request.draft == false runs-on: ubuntu-latest