Skip to content

data updates, added new wiki link #966

data updates, added new wiki link

data updates, added new wiki link #966

Workflow file for this run

name: Test
on:
pull_request:
branches: [ test, main ]
push:
branches: [ test, main ]
jobs:
python-test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:latest
env:
POSTGRES_USER: openforge
POSTGRES_PASSWORD: openforge
POSTGRES_DB: openforge_test
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
- name: Run tests
env:
PGHOST: localhost
PGUSER: openforge
PGPASSWORD: openforge
PGDATABASE: openforge_test
PGPORT: 5432
run: |
pytest tests/ --cov=openforge
react-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: Run React tests
run: npm test
js-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: Run linting and type checking
run: npm run lint:all
python-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
- name: Install ruff
run: |
python -m pip install --upgrade pip
pip install ruff==0.8.6
- name: Run ruff linting
run: ruff check .
- name: Run ruff formatting check
run: ruff format --check .