We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aa462a commit e2acfacCopy full SHA for e2acfac
.github/workflows/smoketests.yml renamed to .github/workflows/examples.yml
@@ -9,7 +9,7 @@ on:
9
- '**'
10
11
jobs:
12
- lint:
+ examples:
13
runs-on: ubuntu-latest
14
15
steps:
examples/test_examples.sh
@@ -1,9 +1,12 @@
1
#!/usr/bin/env bash
2
-set -eo pipefail
3
-
4
EXAMPLES_DIR=$(dirname "${BASH_SOURCE[0]}")
5
6
for example in ${EXAMPLES_DIR}/pipeline_*.py; do
7
echo "Running example: ${example}"
8
- python ${example} 2>/dev/null
+ time python ${example} > test_examples.log 2>&1
+ if [ $? -ne 0 ]; then
+ echo "Error running example: ${example}"
+ cat test_examples.log
+ exit 1
+ fi
done
0 commit comments