add support for STAC API Transactions #1178
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: build ⚙️ | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '**.md' | |
release: | |
types: | |
- released | |
jobs: | |
main: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
include: | |
- python-version: "3.10" | |
toxenv: "py310-sqlite" | |
- python-version: "3.11" | |
toxenv: "py311-sqlite" | |
env: | |
TOXENV: ${{ matrix.toxenv }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
name: Setup Python ${{ matrix.python-version }} | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install requirements 📦 | |
run: | | |
sudo apt install -y libgeos-dev libpq-dev libxml2-dev libxslt1-dev libz-dev libexpat1 | |
pip3 install -r requirements.txt | |
pip3 install -r requirements-standalone.txt | |
pip3 install -r requirements-dev.txt | |
pip3 install --upgrade https://github.com/geopython/OWSLib/archive/master.zip | |
pip3 install tox | |
echo "TOXENV => $TOXENV" | |
- name: run unit tests ⚙️ | |
run: tox -- --exitfirst -m unit | |
- name: run integration tests ⚙️ | |
run: tox -- --exitfirst -m functional -k 'not harvesting' | |
- name: build docs 🏗️ | |
run: cd docs && make html |