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:
parent
b25435052b
commit
f681f83706
6
.github/workflows/build_coverage.yaml
vendored
6
.github/workflows/build_coverage.yaml
vendored
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user