Skip to content

Commit ef44ff4

Browse files
committed
ci(tests): Add check over jython's output
1 parent 956324c commit ef44ff4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/test-action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,8 @@ jobs:
3939
jython-version: "${{ matrix.jython_version }}"
4040

4141
- name: Run Jython
42+
shell: bash
4243
run: |
43-
jython -c 'import sys, os; print(os.name, sys.version)';
44+
output="$(jython -c 'import sys, os; print(os.name, sys.version); print "\n\nJython Works!\n\n"')";
45+
echo "$output";
46+
echo "$output" | grep -q "Jython Works!";

0 commit comments

Comments
 (0)