Skip to content

Drop custom 'wt_progress'. Use new Notification system #49

Drop custom 'wt_progress'. Use new Notification system

Drop custom 'wt_progress'. Use new Notification system #49

Workflow file for this run

name: Testing and Linting
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.12"]
services:
mongodb:
image: mongo:4.0
ports:
- 27017:27017
redis:
image: redis:7
ports:
- 6379:6379
steps:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Checkout repo
uses: actions/checkout@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- name: Build web components
run: |
cd girder_wholetale/web_client
npm ci
npm run build
- name: Cache tox environments
uses: actions/cache@v4
with:
path: .tox
key: ${{ matrix.python-version }}-tox-${{ hashFiles('setup.py', 'requirements.txt') }}
- name: Run Linter
run: tox -e lint -- girder_wholetale
- name: Run Tests with coverage
env:
GIRDER_MAX_CURSOR_TIMEOUT_MS: 60000
run: tox -e pytest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}