-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from Multiwoven/feat/integrations-actions
feat: move integrations gem github actions to root
- Loading branch information
Showing
4 changed files
with
67 additions
and
61 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,30 @@ | ||
name: CI - Integrations | ||
on: | ||
push: | ||
paths: | ||
- "integrations/**" | ||
|
||
env: | ||
CI: true | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ruby-version: [3.2.0] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Ruby ${{ matrix.ruby-version }} | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
gem install bundler | ||
bundle install --jobs 4 --retry 3 | ||
working-directory: ./integrations | ||
|
||
- name: Run tests with code coverage | ||
run: COVERAGE=true bundle exec rspec | ||
working-directory: ./integrations |
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,37 @@ | ||
name: Ruby - Integrations | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "integrations/**" | ||
|
||
pull_request: | ||
paths: | ||
- "integrations/**" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
name: Ruby ${{ matrix.ruby }} | ||
strategy: | ||
matrix: | ||
ruby: | ||
- "3.2.0" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
|
||
- name: Install dependencies | ||
run: bundle install | ||
working-directory: ./integrations | ||
|
||
- name: Run the default task | ||
run: bundle exec rake | ||
working-directory: ./integrations |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.