Skip to content

Commit

Permalink
build: use specific python version (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig authored Mar 17, 2024
1 parent 4a97a78 commit 59e7074
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/release-script-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@ jobs:

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0

- name: Prepare Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
cache: 'pip' # caching pip dependencies

- name: Install dependencies
run: pip3 install -r requirements.txt
run: pip install -r requirements.txt

- name: Run tests
run: pytest -v
7 changes: 6 additions & 1 deletion .github/workflows/release_create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0

- name: Prepare Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
cache: 'pip' # caching pip dependencies

- name: Install dependencies
run: pip3 install -r ./tools/release/requirements.txt
run: pip install -r ./tools/release/requirements.txt

- name: Extract Tag from branch name
run: |
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/release_prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ jobs:
CXX: clang++-14
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0


- name: Prepare Python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
cache: 'pip' # caching pip dependencies

- name: Install dependencies
run: pip3 install -r ./tools/release/requirements.txt
run: pip install -r ./tools/release/requirements.txt

- name: Update source code versions
run: ./tools/release/update_versions.py
Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12

0 comments on commit 59e7074

Please sign in to comment.