Skip to content

SDAN-723 Fix timeouts on related coverage #19

SDAN-723 Fix timeouts on related coverage

SDAN-723 Fix timeouts on related coverage #19

Workflow file for this run

name: "CI"
on:
[push, pull_request]
jobs:
server-py-38:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: docker-compose
run: docker-compose -f .actions-docker-compose.yml up -d
- name: cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('dev-requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip
${{ runner.os }}-
- name: pip install
run: |
python -m pip install --upgrade pip wheel setuptools
pip install -r dev-requirements.txt
- name: flake8
run: flake8
- name: pytest
run: pytest --ignore=tests/aap/ --disable-pytest-warnings --cov=newsroom
- name: behave
run: behave --format progress2 --logging-level=ERROR
client-node-14:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: cache npm
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm
${{ runner.os }}-
- name: npm ci
run: npm ci
- name: lint
run: npm run lint
- name: test
run: npm run test
- name: build
run: npm run build