Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
f1347bcf
Unverified
Commit
f1347bcf
authored
3 years ago
by
Richard van der Hoff
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix the tests-done Github Actions job (#10444)
parent
8ae0bdca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/tests.yml
+18
-1
18 additions, 1 deletion
.github/workflows/tests.yml
changelog.d/10444.misc
+1
-0
1 addition, 0 deletions
changelog.d/10444.misc
with
19 additions
and
1 deletion
.github/workflows/tests.yml
+
18
−
1
View file @
f1347bcf
...
...
@@ -347,7 +347,12 @@ jobs:
# a job which marks all the other jobs as complete, thus allowing PRs to be merged.
tests-done
:
if
:
${{ always() }}
needs
:
-
lint
-
lint-crlf
-
lint-newsfile
-
lint-sdist
-
trial
-
trial-olddeps
-
sytest
...
...
@@ -355,4 +360,16 @@ jobs:
-
complement
runs-on
:
ubuntu-latest
steps
:
-
run
:
"
true"
\ No newline at end of file
-
name
:
Set build result
env
:
NEEDS_CONTEXT
:
${{ toJSON(needs) }}
# the `jq` incantation dumps out a series of "<job> <result>" lines
run
:
|
set -o pipefail
jq -r 'to_entries[] | [.key,.value.result] | join(" ")' \
<<< $NEEDS_CONTEXT |
while read job result; do
if [ "$result" != "success" ]; then
echo "::set-failed ::Job $job returned $result"
fi
done
This diff is collapsed.
Click to expand it.
changelog.d/10444.misc
0 → 100644
+
1
−
0
View file @
f1347bcf
Update the `tests-done` Github Actions status.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment