Skip to content

Commit

Permalink
Merge pull request #366 from itamae-kitchen/ruby3.3
Browse files Browse the repository at this point in the history
CI againt for Ruby 3.3
  • Loading branch information
sue445 authored Dec 28, 2023
2 parents 50ee025 + a600277 commit 978a19b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
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

0 comments on commit 978a19b

Please sign in to comment.