Skip to content
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
19 changes: 17 additions & 2 deletions .github/workflows/_run-e2e-single.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# WARNING: This file is used by multiple workflows. Please modify with caution. Any changes here may affect multiple
# CI/CD pipelines.

name: Run Single E2E Test with multiple Python versions

on:
Expand All @@ -13,6 +16,16 @@ on:
required: true
type: string
description: JSON array of Python versions
ref:
required: false
type: string
description: Git ref to checkout
default: ""
artifact-name:
required: false
type: string
description: Docker image artifact name
default: "subtensor-localnet"

jobs:
run-e2e:
Expand All @@ -28,6 +41,8 @@ jobs:
steps:
- name: Check-out repository
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref != '' && inputs.ref || github.ref }}

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand Down Expand Up @@ -57,10 +72,10 @@ jobs:
- name: Download Cached Docker Image
uses: actions/download-artifact@v4
with:
name: subtensor-localnet
name: ${{ inputs.artifact-name }}

- name: Load Docker Image
run: docker load -i subtensor-localnet.tar
run: docker load -i ${{ inputs.artifact-name }}.tar

- name: Run test with retry
env:
Expand Down
Loading
Loading