Skip to content

Commit

Permalink
Merge pull request #2 from davemfish/feature/mcf-class
Browse files Browse the repository at this point in the history
Initial PR
  • Loading branch information
phargogh authored Dec 14, 2023
2 parents 8bc58e7 + e282ca3 commit 2ed6b4c
Show file tree
Hide file tree
Showing 12 changed files with 853 additions and 635 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Test pygeometadata

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
57 changes: 0 additions & 57 deletions 01_template_required_properties.yml

This file was deleted.

64 changes: 0 additions & 64 deletions 02_sample_raster_autopopulated.yml

This file was deleted.

74 changes: 0 additions & 74 deletions 02_sample_vector_autopopulated.yml

This file was deleted.

84 changes: 0 additions & 84 deletions 03_sample_raster_fullypopulated.yml

This file was deleted.

Loading

0 comments on commit 2ed6b4c

Please sign in to comment.