Skip to content

Commit 823bf64

Browse files
committed
tests: enable system tests
1 parent d155670 commit 823bf64

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.kokoro/system-single.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ NOX_SESSION_ARG=""
2626

2727
# IF NOX_FILE is set, it runs the specific nox file,
2828
# otherwise it runs noxfile.py in the package directory.
29-
NOX_FILE_ARG="noxfile.py"
29+
NOX_FILE_ARG=""
3030

3131
[[ -z "${NOX_SESSION}" ]] || NOX_SESSION_ARG="-s ${NOX_SESSION}"
3232

3333
[[ -z "${NOX_FILE}" ]] || NOX_FILE_ARG="-f ${NOX_FILE}"
34-
python3 -m nox ${NOX_SESSION_ARG} -f $NOX_FILE_ARG
34+
35+
python3 -m nox ${NOX_SESSION_ARG} $NOX_FILE_ARG

.kokoro/system.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@ for dir in `find 'packages' -type d -wholename 'packages/*/tests/system' -o -who
6868

6969
case "${package}" in
7070
"google-auth")
71-
export NOX_FILE_ARG="system_tests/noxfile.py"
71+
export NOX_FILE="system_tests/noxfile.py"
72+
# Run all nox sessions for this file
73+
export NOX_SESSION=""
7274
;;
7375
*)
74-
# Fallback/Default noxfile.py
75-
export NOX_FILE_ARG="noxfile.py"
76+
# Fallback/Default
7677
;;
7778
esac
7879

0 commit comments

Comments
 (0)