-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (33 loc) · 936 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build
on:
push:
paths-ignore:
- '*.md'
env:
REDMINE_SRC: redmine-src
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
# - redmine_repository: 'redmine/redmine'
# redmine_version: '5.1-stable'
# redmine_database: 'sqlite3'
# ruby_version: '3.3'
- redmine_repository: 'redmica/redmica'
redmine_version: 'stable-2.4'
redmine_database: 'postgresql'
ruby_version: '3.2'
steps:
- uses: actions/checkout@v4
- uses: ./
with:
path: ${{ env.REDMINE_SRC }}
repository: ${{ matrix.redmine_repository }}
version: ${{ matrix.redmine_version }}
database: ${{ matrix.redmine_database }}
- run: |
bin/rails test test/unit/news_test.rb
bin/rails test test/system/my_page_test.rb
working-directory: ${{ env.REDMINE_SRC }}