Migrate CI to GitHub Actions now that Travis CI.org is inactive.
In addition to adding a basic ci.yml file, I needed to make several other changes:
Loosen the development dependency on rake to allow more recent versions
Wrap the use of YAML::load in the specs in a helper function that allows us to explicitly use YAML::safe_load with OpenStruct as a permitted class for Ruby 3.1 and up
Replace File.exists? with File.exist?
Ruby head is still failing because of a process start race condition between the PatronTestServer and the actual specs. In the interest of getting something working quickly I temporarily removed ruby-head. All other Rubies in the CI file are green.
Migrate CI to GitHub Actions now that Travis CI.org is inactive.
In addition to adding a basic
ci.yml
file, I needed to make several other changes:rake
to allow more recent versionsYAML::load
in the specs in a helper function that allows us to explicitly useYAML::safe_load
withOpenStruct
as a permitted class for Ruby 3.1 and upFile.exists?
withFile.exist?
Ruby head is still failing because of a process start race condition between the
PatronTestServer
and the actual specs. In the interest of getting something working quickly I temporarily removedruby-head
. All other Rubies in the CI file are green.