Add Gitea Actions config
Some checks failed
Tests / test (7) (push) Failing after 18s

This commit is contained in:
Basti 2024-03-05 13:43:48 +01:00
parent bf14785404
commit 16cf20e45a
Signed by: basti
GPG Key ID: 9F88009D31D99C72

38
.gitea/workflows/ruby.yml Normal file
View File

@ -0,0 +1,38 @@
name: Tests
on:
push:
# branches: [ master ]
pull_request:
# branches: [ master ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
container:
image: ruby:3.3
strategy:
matrix:
# ruby-version: ['3.0', '3.2', '3.3']
# ruby-version: ['3.3']
# redis-version: [6, 7]
redis-version: [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