File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Spec Compliance / Sprocket
22
33on :
4+ workflow_dispatch :
45 push :
56 paths :
67 - ' SPEC.md'
@@ -35,27 +36,24 @@ jobs:
3536 sprocket --version
3637 - name : Create results directory
3738 run : mkdir -p ./.results/
38-
3939 - name : Run the compliance tests
4040 run : |
4141 echo "📊 Running compliance tests for \`${{ github.repository }}:${{ github.ref_name }}\`..."
4242 spectool test \
43- "sprocket run ~{path} ~{input} -e ~{target}" \
44- --redirect-stdout \
43+ "sprocket run ~{path} @ ~{input} -t ~{target} -o /tmp/out --index-on ~{target}" \
44+ --output-file "/tmp/out/index/~{target}/outputs.json" \
4545 --all-capabilities \
4646 --label "Sprocket / WDL 1.4" \
4747 -s $PWD -vv > ./.results/shield.json 2> ./.results/logs.txt
4848 cat ./.results/logs.txt
4949 cat ./.results/shield.json
5050 cp SPEC.md ./.results/SPEC.md
51-
5251 - name : Upload test results
5352 if : always()
5453 uses : actions/upload-artifact@v4
5554 with :
5655 name : sprocket-results
5756 path : ./.results/
58-
5957 - name : Publish badge JSON
6058 env :
6159 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9088 echo $new_url
9189 if grep -qE "$sed_pattern" README.md; then
9290 git pull
93- sed -E -i "/sprocket_shields \.json/s|$sed_pattern|$new_url|g" README.md
94- sed -E -i "/sprocket_shields \.json/s|$run_pattern|$new_run|g" README.md
91+ sed -E -i "/sprocket \.json/s|$sed_pattern|$new_url|g" README.md
92+ sed -E -i "/sprocket \.json/s|$run_pattern|$new_run|g" README.md
9593 git add README.md
9694 fi
9795
You can’t perform that action at this time.
0 commit comments