Skip to content

Fix ghpages workflow #1650

Fix ghpages workflow

Fix ghpages workflow #1650

Workflow file for this run

name: api-server
on:
pull_request:
paths:
- '.github/workflows/api-server.yml'
- 'packages/api-server/**'
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CI: true
PIPENV_VERBOSITY: -1
jobs:
tests:
name: Tests
runs-on: ubuntu-24.04
container:
image: ghcr.io/${{ github.repository }}/minimal-rmf
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
defaults:
run:
shell: bash
working-directory: packages/api-server
steps:
- uses: actions/checkout@v4
- name: bootstrap
uses: ./.github/actions/bootstrap
with:
package: api-server
- name: tests
run: |
. /opt/rmf/setup.bash
pnpm run lint
pnpm run test:cov -v
../../.venv/bin/python -m coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
flags: api-server