Skip to content

Add GitHub Actions workflow for building the project #33

Add GitHub Actions workflow for building the project

Add GitHub Actions workflow for building the project #33

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 }}
ruby-version: ${{ matrix.ruby-version }}
- run: |
bin/rails test test/unit/news_test.rb
bin/rails test test/system/my_page_test.rb
working-directory: ${{ env.REDMINE_SRC }}