Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI againt for Ruby 3.3 #366

Merged
merged 3 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- "3.0"
- "3.1"
- "3.2"
- "3.3"
rubyopt:
- ""
- "--jit"
Expand Down
19 changes: 16 additions & 3 deletions .github/workflows/test_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ on:
SLACK_WEBHOOK:
required: true

env:
RUBYOPT: ${{ inputs.rubyopt }}

jobs:
unit:
runs-on: ubuntu-latest
Expand All @@ -33,6 +30,8 @@ jobs:
- run: bundle update

- run: bundle exec rake spec:unit
env:
RUBYOPT: ${{ inputs.rubyopt }}

- name: Slack Notification (not success)
uses: lazy-actions/slatify@master
Expand Down Expand Up @@ -70,14 +69,23 @@ jobs:
- run: bundle update

- run: bundle exec rake spec:integration:docker:boot
env:
RUBYOPT: ${{ inputs.rubyopt }}

- run: bundle exec rake spec:integration:docker:provision
env:
RUBYOPT: ${{ inputs.rubyopt }}

# FIXME: avoid error for "Command `chmod 777 /tmp/itamae_tmp` failed. (exit status: 1)"
ITAMAE_TMP_DIR: /var/tmp/itamae_tmp

- run: bundle exec rake spec:integration:docker:serverspec
env:
RUBYOPT: ${{ inputs.rubyopt }}

- run: bundle exec rake spec:integration:docker:clean_docker_container
env:
RUBYOPT: ${{ inputs.rubyopt }}

- name: Slack Notification (not success)
uses: lazy-actions/slatify@master
Expand Down Expand Up @@ -108,7 +116,12 @@ jobs:
- run: bundle update

- run: bundle exec rake spec:integration:local:main
env:
RUBYOPT: ${{ inputs.rubyopt }}

- run: bundle exec rake spec:integration:local:ordinary_user
env:
RUBYOPT: ${{ inputs.rubyopt }}

- name: Slack Notification (not success)
uses: lazy-actions/slatify@master
Expand Down
Loading