Skip to content

Add option to make stac hrefs HTTPS instead of S3 URIs #95

Add option to make stac hrefs HTTPS instead of S3 URIs

Add option to make stac hrefs HTTPS instead of S3 URIs #95

Workflow file for this run

name: Run tests
on:
pull_request:
push:
branches:
- main
- develop
# Probably should add a release process to publish a package we install
# one day...
# release:
# types:
# - created
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check linting
uses: psf/black@stable
id: action_black
with:
options: "--check"
src: "./dep_tools"
testing:
runs-on: ubuntu-latest
container:
image: ghcr.io/osgeo/gdal:ubuntu-full-3.8.4
volumes:
- ${{ github.workspace }}:/github/workspace
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies and run tests
run: |
apt-get update && apt-get install -y \
python3-pip \
python3-dev \
git \
libpq-dev \
ca-certificates \
build-essential
pip3 install --upgrade pip setuptools wheel poetry
pip3 install .
- name: Run tests
run: |
pip3 install pytest
cd /github/workspace
pytest tests