Skip to content

Cerner merge test deployment #461

Cerner merge test deployment

Cerner merge test deployment #461

Workflow file for this run

on: [pull_request]
name: CI
jobs:
# run python/js tests, coveralls and lint
test:
name: python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
services:
postgres:
image: postgres:11
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: ci_db_test
ports:
- 5432:5432
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
python-version:
- 3.6
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up ruby for coveralls
uses: actions/setup-ruby@v1
- name: Set up js
uses: actions/setup-node@v1
- name: Install js dependencies
run: npm install [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
- name: Install requirements
run: pip install -r requirements.txt
- run: gem install coveralls-lcov
- name: run tests
run: opal test --coverage
- name: combine coveralls
run: find coverage -name "lcov.info" -exec coveralls-lcov -v -n {} \; > coverage/coverage.json
- run: coveralls --merge=coverage/coverage.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}"
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}