Add tests
This commit is contained in:
parent
363dfaa7d3
commit
cdea0e1218
14 changed files with 116 additions and 52 deletions
23
.forgejo/workflows/test.yml
Normal file
23
.forgejo/workflows/test.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
image: ruby:3.3.4
|
||||
name: Text
|
||||
steps:
|
||||
- name: Cache repository
|
||||
uses: actions/cache@v4
|
||||
id: cache-repository
|
||||
with:
|
||||
path: repository
|
||||
key: ${{ runner.os }}-repository-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-repository-
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: repository
|
||||
submodules: recursive
|
||||
- run: cd repository
|
||||
- run: bundle install
|
||||
- run: bundle exec rails test
|
||||
Loading…
Add table
Add a link
Reference in a new issue