Add Gitea Actions config
Some checks failed
Tests / test (6, 3.0) (push) Failing after 3s
Tests / test (6, 3.3) (push) Failing after 3s
Tests / test (6, 3.2) (push) Failing after 4s
Tests / test (7, 3.0) (push) Failing after 4s
Tests / test (7, 3.2) (push) Failing after 3s
Tests / test (7, 3.3) (push) Failing after 3s
Some checks failed
Tests / test (6, 3.0) (push) Failing after 3s
Tests / test (6, 3.3) (push) Failing after 3s
Tests / test (6, 3.2) (push) Failing after 4s
Tests / test (7, 3.0) (push) Failing after 4s
Tests / test (7, 3.2) (push) Failing after 3s
Tests / test (7, 3.3) (push) Failing after 3s
This commit is contained in:
parent
bf14785404
commit
4365ac6bcb
33
.gitea/workflows/ruby.yml
Normal file
33
.gitea/workflows/ruby.yml
Normal file
@ -0,0 +1,33 @@
|
||||
name: Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
# branches: [ master ]
|
||||
pull_request:
|
||||
# branches: [ master ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
ruby-version: ['3.0', '3.2', '3.3']
|
||||
redis-version: [6, 7]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby-version }}
|
||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||
- name: Start Redis
|
||||
uses: supercharge/redis-github-action@1.4.0
|
||||
with:
|
||||
redis-version: ${{ matrix.redis-version }}
|
||||
- name: Configure
|
||||
run: cp config.yml.erb.example config.yml.erb
|
||||
- name: Run tests
|
||||
run: bundle exec rake test
|
||||
Loading…
x
Reference in New Issue
Block a user