Skip to content

syndicate API including currently RSS and ATOM formatter API #390

syndicate API including currently RSS and ATOM formatter API

syndicate API including currently RSS and ATOM formatter API #390

Workflow file for this run

name: "CI"
on:
[push, pull_request]
jobs:
server-py-36:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: docker-compose
run: docker-compose -f .actions-docker-compose.yml up -d
- run: |
sudo apt-get update
sudo apt-get install pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl
- 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-12:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v1
with:
node-version: 12.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