Skip to content

Add GitHub Actions workflow for building the project #32

Add GitHub Actions workflow for building the project

Add GitHub Actions workflow for building the project #32

Workflow file for this run

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 }}