Skip to content

Log when products are being updated #256

Log when products are being updated

Log when products are being updated #256

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: '16'
- uses: microsoft/playwright-github-action@v1
- 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
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
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: Run UI tests
env:
TEST_ONLINE: postgresql://postgres:postgres@localhost:5432/postgres
TEST_WRAPPER_COVERAGE: 1
run: prove -l -v t/*.t.js
- name: Coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cover -report Coveralls