Skip to content

Commit

Permalink
Merge pull request #7 from taddyb/main
Browse files Browse the repository at this point in the history
Feature: Configuration files for pulling datasets
  • Loading branch information
taddyb authored Nov 4, 2024
2 parents 45cba9e + 08c39f2 commit 29bbe22
Show file tree
Hide file tree
Showing 15 changed files with 834 additions and 618 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Pytest

on: [pull_request]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and test
run: |
python -m pip install --upgrade pip
pip install uv
uv venv
source .venv/bin/activate
uv pip install -e .
pytest
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Hydro Data (Dev)
[![Tests](https://github.com/mhpi/hydro_data_dev/actions/workflows/pytest.yml/badge.svg)](https://github.com/hydro_data_dev/actions/actions/workflows/tests.yml)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11-blue)]()

Expand All @@ -16,7 +17,7 @@ pip install .
```

### Developer Mode Installation
The same clone as above, but use hatch's developer mode setting
The same clone as above, but uses hatch's developer mode setting
```shell
pip install -e .
```
Expand Down
Loading

0 comments on commit 29bbe22

Please sign in to comment.