Skip to content

README.mdの内容を更新し、機能、インストール手順、設定、使用例を追加 #86

README.mdの内容を更新し、機能、インストール手順、設定、使用例を追加

README.mdの内容を更新し、機能、インストール手順、設定、使用例を追加 #86

Workflow file for this run

name: build
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
workflow_dispatch:
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
db: [sqlite3, mysql, postgres]
ruby_version: ["3.1", "3.2", "3.3", "3.4"]
redmine_version: [6.0-stable, 6.1-stable, master]
exclude:
- ruby_version: "3.4"
redmine_version: 6.0-stable
- ruby_version: "3.1"
redmine_version: 6.1-stable
- ruby_version: "3.1"
redmine_version: master
services:
mysql:
image: mysql:5.7
options: --health-cmd "mysqladmin ping -h localhost" --health-interval 20s --health-timeout 10s --health-retries 10
env:
MYSQL_ROOT_PASSWORD: dbpassword
postgres:
image: postgres
env:
POSTGRES_USER: root
POSTGRES_PASSWORD: dbpassword
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
container:
image: ruby:${{ matrix.ruby_version }}
env:
DB: ${{ matrix.db }}
DB_USERNAME: root
DB_PASSWORD: dbpassword
DB_HOST: ${{ matrix.db }}
REDMINE_VER: ${{ matrix.redmine_version }}
steps:
- uses: actions/checkout@v4
- name: Install
run: bash -x ./build-scripts/install.sh
- name: Build
run: bash -x ./build-scripts/build.sh
- name: Clean
run: bash -x ./build-scripts/cleanup.sh
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
- name: Slack Notification on Failure
uses: rtCamp/[email protected]
if: failure() && env.SLACK_WEBHOOK != ''
env:
SLACK_CHANNEL: plugin-wiki_ext
SLACK_TITLE: Test Failure
SLACK_COLOR: danger