Adapting the code to match current pydantic and pygeoapi #24
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #name: Continuous Integration | |
| # | |
| #on: | |
| # push: | |
| # branches: | |
| # - main | |
| # pull_request: | |
| # branches: | |
| # - main | |
| # - | |
| #permissions: | |
| # contents: read | |
| # pages: write | |
| # id-token: write | |
| # | |
| #jobs: | |
| # ci: | |
| # runs-on: ubuntu-22.04 | |
| # steps: | |
| # - name: Checkout code | |
| # uses: actions/checkout@v3 | |
| # | |
| # - name: Install uv | |
| # uses: astral-sh/setup-uv@v5 | |
| # | |
| # - name: Set up Python | |
| # run: uv python install 3.10 | |
| # | |
| # - name: Install package | |
| # run: uv sync --all-groups | |
| # | |
| # - name: run pre-commit | |
| # run: uv run pre-commit run --all-files | |
| # | |
| ## - name: Run tests | |
| ## run: uv run pytest --suppress-no-test-exit-code | |
| # | |
| ## - name: Setup Pages | |
| ## id: pages | |
| ## uses: actions/configure-pages@v3 | |
| # | |
| # - name: (Re)build docs | |
| # run: uv run mkdocs build | |
| # | |
| # - name: Upload artifact | |
| # uses: actions/upload-pages-artifact@v1.0.8 | |
| # with: | |
| # path: "site/" | |
| # | |
| # publish-docs: | |
| # environment: | |
| # name: github-pages | |
| # url: ${{ steps.deployment.outputs.page_url }} | |
| # runs-on: ubuntu-22.04 | |
| # needs: ci | |
| # if: github.ref == 'refs/heads/main' | |
| # steps: | |
| # - name: Deploy to github pages | |
| # id: deployment | |
| # uses: actions/deploy-pages@v2 |