1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-18 13:48:58 +02:00

fix: coverage action

This commit is contained in:
Ivar Conradi Østhus 2022-05-20 12:19:02 +02:00
parent b25435052b
commit f681f83706
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

@ -9,12 +9,12 @@ on:
- coverage/** - coverage/**
jobs: jobs:
build: coverage:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
node-version: [14.x] node-version: [16.x]
services: services:
# Label used to access the service container # Label used to access the service container
postgres: postgres:
@ -39,11 +39,11 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: yarn - run: yarn
- run: yarn run test:coverage - run: yarn run test:coverage
- run: scripts/commit-coverage.sh
env: env:
CI: true CI: true
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
- run: scripts/commit-coverage.sh
- name: Coveralls - name: Coveralls
uses: coverallsapp/github-action@master uses: coverallsapp/github-action@master
with: with: