Skip to content

Commit bdab6d4

Browse files
committed
test: add test for bring your own code with a runtime-env.yaml
1 parent 9f8fcf2 commit bdab6d4

File tree

11 files changed

+36
-1
lines changed

11 files changed

+36
-1
lines changed

.github/workflows/kind.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest]
1616
node-version: [16.x]
17-
profile: [non-gpu/keep-it-simple, non-gpu/ray-autoscaler, non-gpu/mcad-default, non-gpu/mcad-coscheduler, non-gpu/mcad-preinstalled]
17+
profile: [non-gpu1/keep-it-simple, non-gpu2/keep-it-simple, non-gpu1/ray-autoscaler, non-gpu1/mcad-default, non-gpu1/mcad-coscheduler, non-gpu1/mcad-preinstalled]
1818

1919
steps:
2020
- uses: actions/checkout@v3
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Same as ../qiskit, but using a runtime-env.yaml rather than a requirements.txt to specify pip dependencies.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../qiskit/main.py
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pip:
2+
- qiskit==0.37.0

tests/kind/profiles/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Profiles for Kind-based Tests
2+
3+
## Variants
4+
5+
- gpu1: Uses tests/kind/inputs/ray-tune-tutorial. GPU: yes
6+
- non-gpu1: Uses tests/kind/inputs/qiskit with a requirements.txt. GPU: no
7+
- non-gpu2: Ibid, but with a runtime-env.yaml that specifies pips. GPU: no

0 commit comments

Comments
 (0)