Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
zpoint committed Dec 11, 2024
1 parent 595c043 commit f29637f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .buildkite/generate_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
├── test_*.py -> release pipeline
├── test_pre_merge.py -> pre-merge pipeline
run `python .buildkite/generate_pipeline.py` to generate the pipeline for
testing. The CI will run this script as a pre-step, and use the generated
pipeline to run the tests.
run `PYTHONPATH=$(pwd)/tests:$PYTHONPATH python .buildkite/generate_pipeline.py`
to generate the pipeline for testing. The CI will run this script as a pre-step,
and use the generated pipeline to run the tests.
1. release pipeline, which runs all smoke tests by default, generates all
smoke tests for all clouds.
Expand All @@ -27,14 +27,9 @@
import sys
from typing import Any, Dict, List, Optional

import yaml

# Add project root to Python path
tests_path = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'tests')
sys.path.append(tests_path)

from conftest import all_clouds_in_smoke_tests
from conftest import default_clouds_to_run
import yaml

DEFAULT_CLOUDS_TO_RUN = default_clouds_to_run
ALL_CLOUDS_IN_SMOKE_TESTS = all_clouds_in_smoke_tests
Expand Down

0 comments on commit f29637f

Please sign in to comment.