Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
araichev committed Sep 26, 2024
2 parents c71c58e + c35d22b commit 27869d8
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Run Tests

on:
push:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest

steps:
# Checkout the code
- name: Checkout code
uses: actions/checkout@v3

# Set up Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x" # Specify the version of Python you need

# Install UV
- name: Install UV
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
# Sync the environment with UV (will create and use .venv)
- name: Sync project environment with UV
run: |
uv sync
# Run the tests using UV
- name: Run tests
run: |
uv run pytest
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Geohexgrid
**********
.. image:: https://github.com/araichev/geohexgrid/actions/workflows/run_tests.yml/badge.svg
:target: https://github.com/araichev/geohexgrid/actions/workflows/run_tests.yml

A tiny Python 3.9+ library for making geographic flat-top hexagonal grids like QGIS's `create grid function <https://docs.qgis.org/3.22/en/docs/user_manual/processing_algs/qgis/vectorcreation.html?highlight=create%20grid#create-grid>`_.
That's it.
Not designed for making other kinds of grids or `discrete global grid systems <https://en.wikipedia.org/wiki/Discrete_global_grid>`_.
Expand Down

0 comments on commit 27869d8

Please sign in to comment.