This commit is contained in:
16
.gitea/workflows/run-tests.yaml
Normal file
16
.gitea/workflows/run-tests.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: Run tests
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-project:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
- name: Setup ruby
|
||||||
|
uses: ruby/setup-ruby
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bundle install
|
||||||
|
- name: Run tests
|
||||||
|
run: bundle exec rake
|
6
Gemfile
6
Gemfile
@@ -1,6 +1,10 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
source "https://rubygems.org"
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
# gem "rails"
|
# gem "rails"
|
||||||
|
gem 'minitest', '~> 5.25'
|
||||||
|
|
||||||
|
gem 'rake', '~> 13.3'
|
||||||
|
|
||||||
gem 'rubocop', require: false
|
gem 'rubocop', require: false
|
@@ -5,6 +5,7 @@ GEM
|
|||||||
json (2.13.2)
|
json (2.13.2)
|
||||||
language_server-protocol (3.17.0.5)
|
language_server-protocol (3.17.0.5)
|
||||||
lint_roller (1.1.0)
|
lint_roller (1.1.0)
|
||||||
|
minitest (5.25.5)
|
||||||
parallel (1.27.0)
|
parallel (1.27.0)
|
||||||
parser (3.3.9.0)
|
parser (3.3.9.0)
|
||||||
ast (~> 2.4.1)
|
ast (~> 2.4.1)
|
||||||
@@ -12,6 +13,7 @@ GEM
|
|||||||
prism (1.4.0)
|
prism (1.4.0)
|
||||||
racc (1.8.1)
|
racc (1.8.1)
|
||||||
rainbow (3.1.1)
|
rainbow (3.1.1)
|
||||||
|
rake (13.3.0)
|
||||||
regexp_parser (2.11.2)
|
regexp_parser (2.11.2)
|
||||||
rubocop (1.80.1)
|
rubocop (1.80.1)
|
||||||
json (~> 2.3)
|
json (~> 2.3)
|
||||||
@@ -37,6 +39,8 @@ PLATFORMS
|
|||||||
x86_64-linux
|
x86_64-linux
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
|
minitest (~> 5.25)
|
||||||
|
rake (~> 13.3)
|
||||||
rubocop
|
rubocop
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
|
Reference in New Issue
Block a user