Fixing unit tests
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2025-08-12 21:27:17 -04:00
parent eac833fd6d
commit 96b746822c

View File

@@ -1,17 +1,10 @@
pipeline: pipeline:
style:
image: ruby:3.4
commands:
- 'gem install rake'
- 'bundle config set --local path "vendor/bundle"'
- 'bundle install'
- 'rake test:rubocop'
test_ruby34: test_ruby34:
group: tests group: tests
image: ruby:3.4 image: ruby:3.4
commands: commands:
- 'bundle config set --local path "vendor/bundle"' - 'bundle config set --local path "vendor/bundle"'
- 'bundle install'
- 'rake db:migrate' - 'rake db:migrate'
- 'rake test:unit' - 'rake test:unit'
test_ruby33: test_ruby33:
@@ -19,6 +12,7 @@ pipeline:
image: ruby:3.3 image: ruby:3.3
commands: commands:
- 'bundle config set --local path "vendor/bundle"' - 'bundle config set --local path "vendor/bundle"'
- 'bundle install'
- 'rake db:migrate' - 'rake db:migrate'
- 'rake test:unit' - 'rake test:unit'
test_ruby32: test_ruby32:
@@ -26,9 +20,17 @@ pipeline:
image: ruby:3.2 image: ruby:3.2
commands: commands:
- 'bundle config set --local path "vendor/bundle"' - 'bundle config set --local path "vendor/bundle"'
- 'bundle install'
- 'rake db:migrate' - 'rake db:migrate'
- 'rake test:unit' - 'rake test:unit'
style:
image: ruby:3.4
commands:
- 'gem install rake'
- 'bundle config set --local path "vendor/bundle"'
- 'rake test:rubocop'
gitea_release: gitea_release:
image: plugins/gitea-release image: plugins/gitea-release
settings: settings: