From f6a8bcf90caba9f21a648ec7de5f7aa241872709 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 30 Mar 2021 07:52:30 +0200 Subject: [PATCH] run tests in github actions --- .github/workflows/deploy.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b3c4d97e6..37086ac95 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -50,12 +50,12 @@ jobs: uses: actions/setup-ruby@v1 with: ruby-version: '2.6.x' - # - uses: actions/cache@v2 - # with: - # path: vendor/bundle - # key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} - # restore-keys: | - # ${{ runner.os }}-gems- + - uses: actions/cache@v2 + with: + path: vendor/bundle + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} + restore-keys: | + ${{ runner.os }}-gems- - name: Install env: MYSQL_PORT: ${{ job.services.mysql.ports[3306] }} @@ -76,12 +76,12 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} run: | bundle exec rubocop - # bundle exec rspec + bundle exec rspec echo $? - # - name: Publish code coverage - # uses: paambaati/codeclimate-action@v2.7.5 - # env: - # CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} + - name: Publish code coverage + uses: paambaati/codeclimate-action@v2.7.5 + env: + CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} build: needs: test