Skip to content

Merge pull request #2855 from cal-itp/ci-cleanup #76

Merge pull request #2855 from cal-itp/ci-cleanup

Merge pull request #2855 from cal-itp/ci-cleanup #76

name: Test, visualize, and build calitp-map-utils
on:
push:
branches:
- 'main'
paths:
- '.github/workflows/build-calitp-map-utils.yml'
- 'apps/maps/calitp_map_utils/**'
pull_request:
paths:
- '.github/workflows/build-calitp-map-utils.yml'
- 'apps/maps/calitp_map_utils/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
check_and_build:
name: check python
runs-on: ubuntu-latest
working-directory: apps/maps

Check failure on line 23 in .github/workflows/build-calitp-map-utils.yml

View workflow run for this annotation

GitHub Actions / Test, visualize, and build calitp-map-utils

Invalid workflow file

The workflow is not valid. .github/workflows/build-calitp-map-utils.yml (Line: 23, Col: 5): Unexpected value 'working-directory'
steps:
- run: sudo apt-get install -y libgraphviz-dev graphviz-dev
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- run: curl -sSL https://install.python-poetry.org | python -
- run: poetry install
- run: poetry run mypy calitp_map_utils
- run: poetry run pytest --spec
- run: poetry run build
# TODO: should we actually publish to pypi?