mirror of
https://github.com/badges/shields.git
synced 2026-11-21 16:06:35 +03:00
* chore(deps-dev): bump prettier from 3.8.3 to 3.9.4 Bumps [prettier](https://github.com/prettier/prettier) from 3.8.3 to 3.9.4. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.8.3...3.9.4) --- updated-dependencies: - dependency-name: prettier dependency-version: 3.9.4 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix format for prettier 3.9.4 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jNullj <15849761+jNullj@users.noreply.github.com>
70 lines
2.3 KiB
YAML
70 lines
2.3 KiB
YAML
name: Coveralls Code Coverage
|
|
on:
|
|
schedule:
|
|
- cron: '10 7 * * *'
|
|
# At 07:10, daily
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
coveralls-code-coverage:
|
|
runs-on: ubuntu-latest
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres
|
|
env:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_DB: ci_test
|
|
options: >-
|
|
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
|
|
|
ports:
|
|
- 5432:5432
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Setup
|
|
uses: ./.github/actions/setup
|
|
env:
|
|
NPM_CONFIG_ENGINE_STRICT: 'false'
|
|
|
|
- name: Migrate DB
|
|
run: npm run migrate up
|
|
env:
|
|
POSTGRES_URL: postgresql://postgres:postgres@localhost:5432/ci_test
|
|
shell: bash
|
|
|
|
- name: Coverage for Main Tests
|
|
run: npm run coverage:test
|
|
env:
|
|
GH_TOKEN: '${{ secrets.GH_PAT }}'
|
|
POSTGRES_URL: postgresql://postgres:postgres@localhost:5432/ci_test
|
|
shell: bash
|
|
|
|
- name: Coverage for Service Tests
|
|
run: npm run coverage:test:services
|
|
continue-on-error: true
|
|
env:
|
|
RETRY_COUNT: 3
|
|
GH_TOKEN: '${{ secrets.GH_PAT }}'
|
|
CURSEFORGE_API_KEY: '${{ secrets.SERVICETESTS_CURSEFORGE_API_KEY }}'
|
|
LIBRARIESIO_TOKENS: '${{ secrets.SERVICETESTS_LIBRARIESIO_TOKENS }}'
|
|
OBS_USER: '${{ secrets.SERVICETESTS_OBS_USER }}'
|
|
OBS_PASS: '${{ secrets.SERVICETESTS_OBS_PASS }}'
|
|
PEPY_KEY: '${{ secrets.SERVICETESTS_PEPY_KEY }}'
|
|
REDDIT_CLIENT_ID: '${{ secrets.SERVICETESTS_REDDIT_CLIENT_ID }}'
|
|
REDDIT_CLIENT_SECRET: '${{ secrets.SERVICETESTS_REDDIT_CLIENT_SECRET }}'
|
|
SL_INSIGHT_USER_UUID: '${{ secrets.SERVICETESTS_SL_INSIGHT_USER_UUID }}'
|
|
SL_INSIGHT_API_TOKEN: '${{ secrets.SERVICETESTS_SL_INSIGHT_API_TOKEN }}'
|
|
TWITCH_CLIENT_ID: '${{ secrets.SERVICETESTS_TWITCH_CLIENT_ID }}'
|
|
TWITCH_CLIENT_SECRET: '${{ secrets.SERVICETESTS_TWITCH_CLIENT_SECRET }}'
|
|
WEBLATE_API_KEY: '${{ secrets.SERVICETESTS_WEBLATE_API_KEY }}'
|
|
YOUTUBE_API_KEY: '${{ secrets.SERVICETESTS_YOUTUBE_API_KEY }}'
|
|
shell: bash
|
|
|
|
- name: Coveralls GitHub Action
|
|
uses: coverallsapp/github-action@v2
|