Skip to content

Allow reading from remote resources over http #39

Allow reading from remote resources over http

Allow reading from remote resources over http #39

Workflow file for this run

name: Test geometamaker
on: [push, pull_request]
concurrency:
# make sure only one run of this workflow for a given PR or a given branch
# can happen at one time. previous queued or started runs will be cancelled.
# github.workflow is the workflow name
# github.ref is the ref that triggered the workflow run
# on push, this is refs/heads/<branch name>
# on pull request, this is refs/pull/<pull request number>/merge
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash -l {0}
jobs:
Test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
with:
# Fetch all history so that setuptool_scm can build the correct
# version string.
fetch-depth: 0
- name: setup-micromamba
uses: mamba-org/setup-micromamba@v1
with:
# Grab requirements from pip-compatible requirements.txt
environment-file: requirements.txt
condarc: |
channels:
- conda-forge
create-args: >-
python=${{ matrix.python-version }}
setuptools
python-build
pytest
environment-name: pyenv
- name: Build and Install
run: |
python -m build --wheel
python -m pip install $(find dist -name "*.whl")
- name: Test with pytest
run: python -m pytest tests