Skip to content

Commit

Permalink
remove container
Browse files Browse the repository at this point in the history
  • Loading branch information
447011 committed Mar 6, 2022
1 parent d1374be commit 68b2d65
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# container: node:14
services:
postgres:
image: postgres:12
image: postgres:latest
env:
POSTGRES_DB: postgres_db
POSTGRES_PASSWORD: postgres_password
Expand All @@ -28,6 +28,7 @@ jobs:
--health-retries 5
env:
DATABASE_URL: postgres://postgres_user:postgres_password@postgres:5432/postgres_db
CODE_CLIMATE_TEST_REPORTER_ID: ${{secrets.CODE_CLIMATE_TEST_REPORTER_ID}}

steps:
- uses: actions/checkout@v2
Expand All @@ -54,11 +55,6 @@ jobs:
if: ${{env.DATABASE_URL}}
run: npm run test:coverage

code_coverage:
runs-on: ubuntu-latest
env:
- CODE_CLIMATE_TEST_REPORTER_ID: ${{secrets.CODE_CLIMATE_TEST_REPORTER_ID}}
steps:
- name: Publish code coverage to code climate
if: ${{env.CODE_CLIMATE_TEST_REPORTER_ID}}
uses: paambaati/codeclimate-action@v3.0.0
Expand Down

0 comments on commit 68b2d65

Please sign in to comment.