Add support for TypeAliasType #720
Workflow file for this run
This file contains 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: CI | |
on: [ push, pull_request ] | |
jobs: | |
prep-tests: | |
runs-on: ubuntu-latest | |
outputs: | |
matrix: ${{ steps.set-vars.outputs.matrix }} | |
date: ${{ steps.set-vars.outputs.date }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- run: pip install tox | |
- name: Generate matrix & vars | |
id: set-vars | |
run: python helper/github-ci-vars.py | |
tests: | |
needs: prep-tests | |
runs-on: ubuntu-20.04 | |
name: tests-${{ matrix.setup.toxenv }} | |
continue-on-error: ${{ matrix.setup.experimental }} | |
strategy: | |
matrix: | |
setup: ${{ fromJson(needs.prep-tests.outputs.matrix) }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: pip-${{ needs.prep-tests.date }} | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.setup.python-version }} | |
- name: Install system dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y gdal-bin libsqlite3-mod-spatialite | |
- name: Install tox | |
run: pip install tox | |
- name: Run Tox | |
run: tox --skip-missing-interpreters=false -e ${{ matrix.setup.toxenv }} | |
- uses: codecov/codecov-action@v3 | |
with: | |
name: ${{ matrix.setup.toxenv }} | |
passed-tests: | |
name: Required tests passed | |
needs: [ tests ] | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "All Done" |