Skip to content

Enable dynamic metadata fields for 'subgroup' in content publishing reports [SDESK-7408] #117

Enable dynamic metadata fields for 'subgroup' in content publishing reports [SDESK-7408]

Enable dynamic metadata fields for 'subgroup' in content publishing reports [SDESK-7408] #117

Workflow file for this run

name: "CI"
on: [push, pull_request]
jobs:
server:
runs-on: ubuntu-latest
services:
redis:
image: redis:alpine
ports:
- "6379:6379"
mongo:
image: mongo:4.4
ports:
- "27017:27017"
elastic:
image: elasticsearch:7.17.23
ports:
- "9200:9200"
env:
discovery.type: single-node
strategy:
matrix:
python-version: ['3.8', '3.10']
node-version: [14.x]
env:
SERVER: true
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'server/requirements.txt'
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: git config --global url."https://git@".insteadOf git://
- name: Setup Environment
run: ./scripts/ci-install.sh
- name: Pytest
run: pytest --log-level=ERROR --disable-warnings
- name: Behave
working-directory: ./server
run: behave --format progress2 --logging-level=ERROR
client:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
env:
CLIENT: true
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: git config --global url."https://git@".insteadOf git://
- name: Install dependencies
run: npm install
- name: Lint
run: npm run hint
- name: Unit Tests
run: npm run unit_test