-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub Actions workflow for building the project
- Loading branch information
1 parent
708ccf9
commit 1e8484d
Showing
2 changed files
with
120 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters