-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tsoganov
committed
Mar 19, 2024
1 parent
ffdbb34
commit 9773725
Showing
4 changed files
with
13 additions
and
18 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 |
---|---|---|
|
@@ -16,13 +16,13 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04] | ||
ruby: [2.6, 2.7] | ||
os: [ubuntu-22.04] | ||
ruby: ['2.7', '3.0.3'] | ||
runs-on: ${{ matrix.os }} | ||
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} | ||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
|
@@ -55,9 +55,6 @@ jobs: | |
chmod +x ./cc-test-reporter | ||
./cc-test-reporter before-build | ||
- name: setup-chromedriver | ||
uses: nanasess/[email protected] | ||
|
||
- name: Run Tests | ||
env: | ||
PG_DATABASE: postgres | ||
|
@@ -75,13 +72,17 @@ jobs: | |
- name: Save coverage | ||
run: ./cc-test-reporter format-coverage --output coverage/codeclimate.${{ matrix.ruby }}.json | ||
|
||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
with: | ||
name: coverage-${{ matrix.ruby }} | ||
path: coverage/codeclimate.${{ matrix.ruby }}.json | ||
|
||
upload_coverage: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: [ '2.7', '3.0.3' ] | ||
runs-on: ubuntu-22.04 | ||
|
||
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
|
@@ -98,12 +99,7 @@ jobs: | |
|
||
- uses: actions/[email protected] | ||
with: | ||
name: coverage-2.6 | ||
path: coverage | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
name: coverage-2.7 | ||
name: coverage-${{ matrix.ruby }} | ||
path: coverage | ||
|
||
- name: Aggregate & upload results to Code Climate | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
3.1.3 | ||
3.0.3 |
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
FROM internetee/ruby:2.7 | ||
MAINTAINER [email protected] | ||
FROM internetee/ruby:3.0-buster | ||
|
||
RUN mkdir -p /opt/webapps/app/tmp/pids | ||
WORKDIR /opt/webapps/app | ||
|
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