mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
based on https://docs.github.com/en/actions/guides/building-and-testing-ruby#starting-with-the-ruby-workflow-template. Things worth mentioning: * ruby/setup-ruby reads `.ruby-version` by default. See: https://github.com/ruby/setup-ruby#supported-version-syntax * I chose to run on ubuntu-18.04 because that's what we use in production. This should reduce potential "it runs on machine but fails in CI" due to different system libraries versions and such. We're temporarily running only `spec/queries/` specs because we want it to finish quickly as we iterate on its configuration.