Skip to content

Commit

Permalink
Tweak indentation in test.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Nate Vick <nate.vick@hint.io>
  • Loading branch information
benjaminwood and natevick committed Nov 3, 2023
1 parent a1ff07e commit c4cd323
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,52 +41,52 @@ jobs:
- 6379:6379

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.5'
bundler-cache: true
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.5'
bundler-cache: true

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'

- name: Yarn Install
run: yarn install
- name: Yarn Install
run: yarn install

- name: Prepare DB
run: bundle exec rails db:schema:load --trace
- name: Prepare DB
run: bundle exec rails db:schema:load --trace

- name: Set ENV for CodeClimate
run: |
echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
echo "GIT_COMMIT_SHA=$GITHUB_SHA" >> $GITHUB_ENV
- name: Set ENV for CodeClimate
run: |
echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
echo "GIT_COMMIT_SHA=$GITHUB_SHA" >> $GITHUB_ENV
- name: Prepare for test
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- name: Prepare for test
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- name: RSpec Suite Run
env:
NODE_OPTIONS: --openssl-legacy-provider
run: |
bundle exec rspec --profile 10 \
--format progress \
--format RspecJunitFormatter \
--out junit/rspec.xml
- name: RSpec Suite Run
env:
NODE_OPTIONS: --openssl-legacy-provider
run: |
bundle exec rspec --profile 10 \
--format progress \
--format RspecJunitFormatter \
--out junit/rspec.xml
./cc-test-reporter format-coverage -t simplecov
./cc-test-reporter upload-coverage
./cc-test-reporter format-coverage -t simplecov
./cc-test-reporter upload-coverage
- name: Upload JUnit artifacts
if: always()
uses: actions/upload-artifact@v3
with:
name: junit
path: junit
- name: Upload JUnit artifacts
if: always()
uses: actions/upload-artifact@v3
with:
name: junit
path: junit

0 comments on commit c4cd323

Please sign in to comment.