Skip to content

[SDESK-7830] Merge feature/node-22 into develop (#209) #348

[SDESK-7830] Merge feature/node-22 into develop (#209)

[SDESK-7830] Merge feature/node-22 into develop (#209) #348

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:6
ports:
- "27017:27017"
elastic:
image: elasticsearch:7.17.23
ports:
- "9200:9200"
env:
discovery.type: single-node
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
node-version: ['22']
env:
SERVER: true
OPENSSL_CONF: /dev/null # fixes phantomjs error
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'server/requirements.txt'
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- name: Setup Environment
run: ./scripts/ci-install.sh
- name: Pytest
run: pytest --log-level=ERROR -vv --disable-warnings
- name: Behave
working-directory: ./server
run: behave --format progress2 --logging-level=ERROR
client:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ['22']
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run hint
- name: Unit Tests
run: npm run unit_test