Skip to content

release 2.5.2

release 2.5.2 #1389

Workflow file for this run

name: "CI-Server"
on: [push, pull_request]
jobs:
server-nose:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
env:
INSTALL_PY_MODULES: true
RUN_SERVICES: true
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('server/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip
${{ runner.os }}-
- name: Setup Environment
run: ./scripts/ci-install.sh
- name: Start Services
run: ./scripts/ci-start-services.sh
- name: Nosetests
working-directory: ./server
run: nosetests --logging-level=ERROR
server-behave:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
env:
INSTALL_PY_MODULES: true
RUN_SERVICES: true
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('server/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip
${{ runner.os }}-
- 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.8]
env:
INSTALL_PY_MODULES: true
INSTALL_PY_EDITABLE: true
RUN_SERVICES: true
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('server/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip
${{ runner.os }}-
- name: Setup Environment
run: ./scripts/ci-install.sh
- name: Start Services
run: ./scripts/ci-start-services.sh
- name: Pytest
working-directory: ./server/tests/prod_api
run: pytest