Skip to content

[SDESK-7463] - Create new async PlanningTypes resource and service #2675

[SDESK-7463] - Create new async PlanningTypes resource and service

[SDESK-7463] - Create new async PlanningTypes resource and service #2675

Workflow file for this run

name: "CI-Server"
on: [push, pull_request]
jobs:
server-pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
env:
INSTALL_PY_MODULES: true
RUN_SERVICES: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'server/requirements.txt'
- name: Setup Environment
run: ./scripts/ci-install.sh
- name: Start Services
run: ./scripts/ci-start-services.sh
- name: Pytest
run: pytest --log-level=ERROR --disable-warnings server/planning
server-behave:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
env:
INSTALL_PY_MODULES: true
RUN_SERVICES: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'server/requirements.txt'
- name: Setup Environment
run: ./scripts/ci-install.sh
- name: Start Services
run: ./scripts/ci-start-services.sh
- name: Behave
working-directory: ./server
run: behave --format progress2 --logging-level=ERROR
prodapi:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
env:
INSTALL_PY_MODULES: true
INSTALL_PY_EDITABLE: true
RUN_SERVICES: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'server/requirements.txt'
- name: Setup Environment
run: ./scripts/ci-install.sh
- name: Start Services
run: ./scripts/ci-start-services.sh
- name: Pytest
run: pytest --log-level=ERROR --disable-warnings server/tests/prod_api