Skip to content

refactor(backend): Split monolithic router into separate controllers … #106

refactor(backend): Split monolithic router into separate controllers …

refactor(backend): Split monolithic router into separate controllers … #106

Workflow file for this run

name: Checks
on:
workflow_dispatch:
pull_request:
push:
branches: [ "main" ]
# Scheduled workflows will only run on the default branch.
schedule:
- cron: '30 5 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-evaluation-compute-worker:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version: [ "3.13" ]
steps:
- uses: actions/checkout@v4
- name: Download debug environments
run: |
wget "https://data.flatland.cloud/benchmarks/Flatland3/debug-environments.zip" -O debug-environments.zip
unzip -o debug-environments.zip -d evaluation/evaluator
find .
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install pytest
run: |
python -m pip install --upgrade pip
pip install -r evaluation/requirements-dev.txt
pip install -r evaluation/compute_worker/requirements.txt
- name: Run tests
working-directory: ./evaluation/
run: pytest -s
test-frontend:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ "22.x" ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run tests
working-directory: ./ts/frontend/
run: npm test
test-backend:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ "22.x" ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run tests
working-directory: ./ts/backend/
run: npm test