Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run CI tests with Python 3.12 #6823

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows.src/build.inc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<% endfor %>
<% endif %>
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Determine package version
shell: bash
Expand Down Expand Up @@ -125,7 +125,7 @@
<% endif %>

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -140,7 +140,7 @@
default: true

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: << 'false' if tgt.runs_on and 'self-hosted' in tgt.runs_on else 'true' >>
with:
python-version: "3.x"
Expand Down Expand Up @@ -206,7 +206,7 @@
runs-on: << tgt.runs_on if tgt.runs_on else "macos-latest" >>

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand Down Expand Up @@ -319,7 +319,7 @@
name: builds-<< tgt.name >>
path: artifacts/<< plat_id >>

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand Down Expand Up @@ -355,7 +355,7 @@
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-docker
ref: master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows.src/tests-patches.tpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: set-matrix
name: Compute versions to run on
run: python3 .github/scripts/patches/compute-versions.py
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows.src/tests.inc.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<% macro _init() -%>
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: false

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 50
submodules: true

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11.3'
python-version: '3.12.2'
<%- endmacro %>

<% macro _init_venv() -%>
Expand Down Expand Up @@ -241,7 +241,7 @@
with:
go-version: 1.16

- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: steps.stolon-cache.outputs.cache-hit != 'true'
with:
repository: sorintlab/stolon
Expand Down Expand Up @@ -406,7 +406,7 @@
<%- endmacro %>

<% macro setup_terraform() -%>
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: false
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows.src/tests.tpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: false

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11.3'
python-version: '3.12.2'

- name: Handle virtualenv
uses: syphar/[email protected]
Expand Down Expand Up @@ -154,9 +154,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11.3'
python-version: '3.12.2'

- name: Install Python deps
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/dryrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Determine package version
shell: bash
Expand Down Expand Up @@ -895,7 +895,7 @@ jobs:


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -910,7 +910,7 @@ jobs:
default: true

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: false
with:
python-version: "3.x"
Expand Down Expand Up @@ -941,7 +941,7 @@ jobs:


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -956,7 +956,7 @@ jobs:
default: true

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: false
with:
python-version: "3.x"
Expand Down Expand Up @@ -1425,7 +1425,7 @@ jobs:
runs-on: ['self-hosted', 'macOS', 'X64']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -1449,7 +1449,7 @@ jobs:
runs-on: ['self-hosted', 'macOS', 'ARM64']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Determine package version
shell: bash
Expand Down Expand Up @@ -900,7 +900,7 @@ jobs:


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -915,7 +915,7 @@ jobs:
default: true

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: false
with:
python-version: "3.x"
Expand Down Expand Up @@ -946,7 +946,7 @@ jobs:


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -961,7 +961,7 @@ jobs:
default: true

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: false
with:
python-version: "3.x"
Expand Down Expand Up @@ -1430,7 +1430,7 @@ jobs:
runs-on: ['self-hosted', 'macOS', 'X64']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -1454,7 +1454,7 @@ jobs:
runs-on: ['self-hosted', 'macOS', 'ARM64']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand Down Expand Up @@ -2575,7 +2575,7 @@ jobs:
name: builds-macos-x86_64
path: artifacts/macos-x86_64

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand Down Expand Up @@ -2605,7 +2605,7 @@ jobs:
name: builds-macos-aarch64
path: artifacts/macos-aarch64

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -2632,7 +2632,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-docker
ref: master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
test-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: false
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
branch: ${{ steps.whichver.outputs.branch }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Determine package version
shell: bash
Expand Down Expand Up @@ -496,7 +496,7 @@ jobs:


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -511,7 +511,7 @@ jobs:
default: true

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: false
with:
python-version: "3.x"
Expand Down Expand Up @@ -540,7 +540,7 @@ jobs:


steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -555,7 +555,7 @@ jobs:
default: true

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: false
with:
python-version: "3.x"
Expand Down Expand Up @@ -1003,7 +1003,7 @@ jobs:
runs-on: ['self-hosted', 'macOS', 'X64']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -1026,7 +1026,7 @@ jobs:
runs-on: ['self-hosted', 'macOS', 'ARM64']

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand Down Expand Up @@ -2132,7 +2132,7 @@ jobs:
name: builds-macos-x86_64
path: artifacts/macos-x86_64

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand Down Expand Up @@ -2161,7 +2161,7 @@ jobs:
name: builds-macos-aarch64
path: artifacts/macos-aarch64

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -2187,7 +2187,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-docker
ref: master
Expand Down
Loading
Loading