Skip to content

Commit

Permalink
Run CI tests with Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Feb 12, 2024
1 parent 06cd3d3 commit 24fefde
Show file tree
Hide file tree
Showing 15 changed files with 141 additions and 141 deletions.
12 changes: 6 additions & 6 deletions .github/workflows.src/build.inc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
outputs:
branch: ${{ steps.whichver.outputs.branch }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Determine package version
shell: bash
Expand Down Expand Up @@ -57,7 +57,7 @@
needs: prep

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -72,7 +72,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 @@ -138,7 +138,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 @@ -251,7 +251,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 @@ -287,7 +287,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 @@ -10,7 +10,7 @@ jobs:
outputs:
branch: ${{ steps.whichver.outputs.branch }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -486,7 +486,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 @@ -514,7 +514,7 @@ jobs:
needs: prep

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -529,7 +529,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 @@ -998,7 +998,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 @@ -1022,7 +1022,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 @@ -15,7 +15,7 @@ jobs:
outputs:
branch: ${{ steps.whichver.outputs.branch }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -491,7 +491,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 @@ -519,7 +519,7 @@ jobs:
needs: prep

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -534,7 +534,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 @@ -1027,7 +1027,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 @@ -2148,7 +2148,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 @@ -2178,7 +2178,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 @@ -2205,7 +2205,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 @@ -10,7 +10,7 @@ jobs:
outputs:
branch: ${{ steps.whichver.outputs.branch }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -486,7 +486,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 @@ -514,7 +514,7 @@ jobs:
needs: prep

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: edgedb/edgedb-pkg
ref: master
Expand All @@ -529,7 +529,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 @@ -977,7 +977,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 @@ -1000,7 +1000,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 @@ -2106,7 +2106,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 @@ -2135,7 +2135,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 @@ -2161,7 +2161,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

0 comments on commit 24fefde

Please sign in to comment.