Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust GH actions workflow #786

Merged
merged 2 commits into from
Oct 12, 2023
Merged

Adjust GH actions workflow #786

merged 2 commits into from
Oct 12, 2023

Conversation

Burgestrand
Copy link
Member

I recently made a change to allow for running the workflow manually on main, which I did in order to double-check if a certain failure was due to a PR or if it's also failing on main.

I've since disabled bypassing branch protections on main, so now there's a PR for this change.

And finally, I noticed that if a required job (e.g. jruby) fails then our tests fail fast which we don't want. We still want all tests to run, but matrix-test should be considered failed if any of the required ruby versions fail.

We still want to run all tests fully, but the job as a whole should be considered failed.
@Burgestrand Burgestrand force-pushed the kbs/update-github-workflow branch from 2aadebc to caed448 Compare October 12, 2023 08:11
```
An error occurred while loading ./spec/authorization_spec.rb.
Failure/Error: require "active_support/core_ext"

NameError:
  cannot load (ext) (org.jruby.ext.psych.PsychLibrary)
# ./vendor/bundle/jruby/3.1.0/gems/psych-5.1.1-java/lib/psych.rb:7:in `<main>'
# ./vendor/bundle/jruby/3.1.0/gems/activesupport-7.1.1/lib/active_support/time_with_zone.rb:3:in `<main>'
# ./vendor/bundle/jruby/3.1.0/gems/activesupport-7.1.1/lib/active_support/core_ext/time/zones.rb:3:in `<main>'
# ./vendor/bundle/jruby/3.1.0/gems/activesupport-7.1.1/lib/active_support/core_ext/date/calculations.rb:7:in `<main>'
# ./vendor/bundle/jruby/3.1.0/gems/activesupport-7.1.1/lib/active_support/core_ext/date.rb:5:in `<main>'
# ./vendor/bundle/jruby/3.1.0/gems/activesupport-7.1.1/lib/active_support/core_ext.rb:5:in `block in <main>'
# ./vendor/bundle/jruby/3.1.0/gems/activesupport-7.1.1/lib/active_support/core_ext.rb:3:in `<main>'
# ./spec/spec_helper.rb:17:in `<main>'
# ./spec/authorization_spec.rb:3:in `<main>'
# ------------------
# --- Caused by: ---
# Java::JavaLang::NullPointerException:
#   inStream parameter is null
#   java.base/java.util.Objects.requireNonNull(Objects.java:246)
```
@Burgestrand Burgestrand force-pushed the kbs/update-github-workflow branch from caed448 to 42422b5 Compare October 12, 2023 08:14
@Burgestrand Burgestrand merged commit af78b44 into main Oct 12, 2023
10 checks passed
@Burgestrand Burgestrand deleted the kbs/update-github-workflow branch October 12, 2023 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant