Skip to content

Also show number of manual reviews in stats #591

Also show number of manual reviews in stats

Also show number of manual reviews in stats #591

Workflow file for this run

name: linux
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- uses: shogo82148/actions-setup-perl@v1
- uses: actions/setup-node@v2
with:
node-version: '20'
- name: node -v
run: which node; node -v; which npm; npm -v
- name: npm install
run: npm i
- name: perl -V
run: perl -V
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libmagic-dev ruby-sass openssh-client
cpanm -n https://github.com/openSUSE/Spooky-Patterns-XS/archive/1.55.tar.gz
cpanm -n --installdeps .
cpanm -n Test::Deep
cpanm -n Devel::Cover::Report::Coveralls
- name: Build assets
env:
NODE_ENV: production
run: npm run build
- name: Run tests
env:
TEST_ONLINE: postgresql://postgres:postgres@localhost:5432/postgres
HARNESS_PERL_SWITCHES: -MDevel::Cover
run: prove -l -v t/*.t
- name: Check assets
run: ls public/asset
- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cover -report Coveralls