Skip to content

Commit 975862c

Browse files
committed
fix path
1 parent feca999 commit 975862c

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646

4747
- run: |
4848
pip install -r scripts/populate_tox/requirements.txt
49-
python scripts/populate_tox/populate_tox.py --fail-on-changes
5049
pip install -r scripts/split_tox_gh_actions/requirements.txt
50+
python scripts/populate_tox/populate_tox.py --fail-on-changes
5151
python scripts/split_tox_gh_actions/split_tox_gh_actions.py --fail-on-changes
5252
5353
build_lambda_layer:

scripts/__init__.py

Whitespace-only changes.

scripts/generate-test-files.sh

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
set -xe
66

7-
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
7+
SCRIPT_DIR="$( cd -- "$( dirname -- "$0" )" && pwd )"
88

99
python -m venv .venv
1010
source .venv/bin/activate
1111

1212
pip install -r "$SCRIPT_DIR/populate_tox/requirements.txt"
1313
pip install -r "$SCRIPT_DIR/split_tox_gh_actions/requirements.txt"
1414

15-
python scripts/populate_tox/populate_tox.py
16-
python scripts/split_tox_gh_actions/split_tox_gh_actions.py
15+
python "$SCRIPT_DIR/populate_tox/populate_tox.py"
16+
python "$SCRIPT_DIR/scripts/split_tox_gh_actions/split_tox_gh_actions.py"

scripts/populate_tox/populate_tox.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import functools
66
import hashlib
7+
import os
78
import sys
89
import time
910
from bisect import bisect_left
@@ -14,13 +15,14 @@
1415
from pathlib import Path
1516
from typing import Optional, Union
1617

18+
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
19+
1720
import requests
1821
from jinja2 import Environment, FileSystemLoader
19-
2022
from sentry_sdk.integrations import _MIN_VERSIONS
2123

2224
from config import TEST_SUITE_CONFIG
23-
from scripts.split_tox_gh_actions.split_tox_gh_actions import GROUPS
25+
from split_tox_gh_actions.split_tox_gh_actions import GROUPS
2426

2527

2628
# Only consider package versions going back this far

0 commit comments

Comments
 (0)