Skip to content

Commit 6a2de1d

Browse files
Allow tests to be run from anywhere
1 parent 3a2602a commit 6a2de1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/basic_checks.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ jobs:
180180
- name: Python Tests
181181
run: |
182182
source venv/bin/activate
183-
cd tools
184-
./run_python_tests.sh
183+
tools/run_python_tests.sh
185184
186185
check-cmsis-mcu-descriptions-matches-target-list:
187186
runs-on: ubuntu-latest

tools/run_python_tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# $ pip install ./tools[unit-tests]
1414

1515
set -e
16+
cd "$(dirname "$0")"
1617

1718
PYTHON=python
1819

0 commit comments

Comments
 (0)