Skip to content

Bump lodash and @microsoft/api-extractor in /dive-dsa-slicer/vue-girder-slicer-ui #718

Bump lodash and @microsoft/api-extractor in /dive-dsa-slicer/vue-girder-slicer-ui

Bump lodash and @microsoft/api-extractor in /dive-dsa-slicer/vue-girder-slicer-ui #718

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build-and-test:
defaults:
run:
working-directory: client
strategy:
matrix:
target: ['web']
name: Client Tests
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v3
-
uses: actions/setup-node@v3
with:
node-version: '20.10.0'
cache: npm
cache-dependency-path: client/package-lock.json
-
name: npm install
run: npm ci
-
name: Lint
if: ${{ matrix.target == 'web' }}
run: npm run lint
-
name: Run tests
if: ${{ matrix.target == 'web' }}
run: npm test -- --collect-coverage
-
name: Build Web
if: ${{ matrix.target == 'web' }}
run: npm run build:web
env:
SENTRY_AUTH_TOKEN: ${{ github.ref == 'refs/heads/main' && secrets.SENTRY_AUTH_TOKEN || '' }}
test-server:
name: Server Tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
steps:
- name: Update Package References
run: sudo apt-get update
- name: Install system dependencies
run: sudo apt-get install --no-install-recommends --yes
python3-cachecontrol
python3-dev
python3-gdal
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: pip install tox
- name: Run Linting
run: tox -e lint
working-directory: server
- name: Run tests
run: tox -e testunit
working-directory: server