2 Commits

Author SHA1 Message Date
64941e86f0 only build container for the main branch
All checks were successful
Gitea Actions Demo / lint (push) Successful in 18s
Gitea Actions Demo / test (push) Successful in 21s
Gitea Actions Demo / release-image (push) Successful in 1m44s
2025-03-11 05:09:22 -05:00
38f92507f6 run tests with rake 2025-03-11 05:09:22 -05:00
2 changed files with 13 additions and 2 deletions

View File

@ -38,11 +38,11 @@ jobs:
ruby-version: '3.4'
bundler-cache: true
- run: bundle exec rspec
- run: bundle exec rake
release-image:
needs: test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest

11
Rakefile Normal file
View File

@ -0,0 +1,11 @@
begin
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)
rescue LoadError
end
require "minitest/test_task"
Minitest::TestTask.create
task default: [:test, :spec]