Skip to content

Also list checkouts in request API #606

Also list checkouts in request API

Also list checkouts in request API #606

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: Git setup
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
- 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