Skip to content

migrate to raygeo 0.10.0 #1774

migrate to raygeo 0.10.0

migrate to raygeo 0.10.0 #1774

Workflow file for this run

name: Lint and Test
on:
push:
branches:
- main
tags:
- "*"
pull_request:
branches:
- "**"
workflow_call:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- name: Install Pixi
uses: prefix-dev/setup-pixi@v0.9.4
with:
pixi-version: v0.68.1
cache: true
cache-key: pixi-${{ runner.os }}-${{ hashFiles('pixi.lock') }}
- name: Setup environment
run: pixi install
- name: Compile Translations
run: pixi run compile-translations
- name: Run flake8 Lint
run: pixi run lint
test-backend:
name: Backend Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- name: Install Pixi
uses: prefix-dev/setup-pixi@v0.9.4
with:
pixi-version: v0.68.1
cache: true
cache-key: pixi-${{ runner.os }}-${{ hashFiles('pixi.lock') }}
- name: Setup environment
run: pixi install
- name: Compile Translations
run: pixi run compile-translations
- name: Run backend tests
run: pixi run test -m "not ui and not stress" --log-cli-level=DEBUG
test-stress:
name: Stress Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- name: Install Pixi
uses: prefix-dev/setup-pixi@v0.9.4
with:
pixi-version: v0.68.1
cache: true
cache-key: pixi-${{ runner.os }}-${{ hashFiles('pixi.lock') }}
- name: Setup environment
run: pixi install
- name: Compile Translations
run: pixi run compile-translations
- name: Run stress tests
run: pixi run test -m stress --log-cli-level=DEBUG
test-ui:
name: UI Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- name: Install Pixi
uses: prefix-dev/setup-pixi@v0.9.4
with:
pixi-version: v0.68.1
cache: true
cache-key: pixi-${{ runner.os }}-${{ hashFiles('pixi.lock') }}
- name: Setup environment
run: pixi install
- name: Install Xvfb
run: sudo apt-get update && sudo apt-get install -y xvfb
- name: Compile Translations
run: pixi run compile-translations
- name: Run UI tests
run: xvfb-run pixi run uitest --log-cli-level=DEBUG