Run journey CI in a pinned Python environment
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a092fe-13b1-7f12-ac74-7d258af4d79c
This commit is contained in:
parent
11014b4d1c
commit
84f7635ea1
1 changed files with 4 additions and 2 deletions
|
|
@ -6,13 +6,15 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
provider:
|
provider:
|
||||||
runs-on: self-hosted
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: python:3.12-slim@sha256:d764629ce0ddd8c71fd371e9901efb324a95789d2315a47db7e4d27e78f1b0e9
|
||||||
steps:
|
steps:
|
||||||
- name: Test the exact commit
|
- name: Test the exact commit
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
mkdir -p identity-source
|
mkdir -p identity-source
|
||||||
curl -fsSL "https://forgejo.coulomb.social/${GITHUB_REPOSITORY}/archive/${GITHUB_SHA}.tar.gz" -o identity-source.tar.gz
|
python -c 'import os, urllib.request; urllib.request.urlretrieve("https://forgejo.coulomb.social/" + os.environ["GITHUB_REPOSITORY"] + "/archive/" + os.environ["GITHUB_SHA"] + ".tar.gz", "identity-source.tar.gz")'
|
||||||
tar xzf identity-source.tar.gz -C identity-source --strip-components=1
|
tar xzf identity-source.tar.gz -C identity-source --strip-components=1
|
||||||
cd identity-source
|
cd identity-source
|
||||||
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=identity-provisioner python3 -m unittest discover -s identity-provisioner/tests -v
|
PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=identity-provisioner python3 -m unittest discover -s identity-provisioner/tests -v
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue