Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
PYTHON_VERSION: ["3.10", "3.11", "3.13"]
PYTHON_VERSION: ["3.10", "3.13", "3.14"]
env:
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}
steps:
Expand Down Expand Up @@ -47,7 +47,6 @@ jobs:
condarc: |
channels:
- conda-forge
- defaults
create-args: >-
python=${{ env.PYTHON_VERSION }}
environment-name: prod
Expand All @@ -63,7 +62,7 @@ jobs:
python -m pip install . -vv --no-deps
cp pywwa_settings.json-example pywwa_settings.json
# This is a bit brittle, but loads some data
python util/ugcs_update.py --filename=fz08mr23 --date=2023-03-08
python util/ugcs_update.py --filename=fz18mr25 --date=2025-03-18
python util/merge_hvtec_nwsli.py hvtec.list.20251006.csv
python util/copy_iem_network.py MN_ASOS
python util/copy_iem_network.py NY_COOP
Expand Down Expand Up @@ -117,7 +116,7 @@ jobs:
pywwa-spammer --help

- name: Upload coverage to Codecov
if: ${{ env.PYTHON_VERSION == '3.13' }}
if: ${{ env.PYTHON_VERSION == '3.14' }}
uses: codecov/codecov-action@v5
with:
file: coverage.xml
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
types: [python]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.14.9"
rev: "v0.14.10"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
3 changes: 3 additions & 0 deletions tests/workflows/test_alaska_marine.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
"""Test alaska_marine workflow."""

import pytest
from pyiem.util import utc

import pywwa
from pywwa.testing import get_example_file
from pywwa.workflows import alaska_marine


@pytest.mark.parametrize("database", ["postgis"])
def test_workflow(cursor):
"""Test failure in the wild."""
pywwa.CTX["utcnow"] = utc(2025, 1, 1, 12)
alaska_marine.process_data(cursor, get_example_file("CWFAER_0.txt"))
alaska_marine.process_data(cursor, get_example_file("CWFAER_1.txt"))
alaska_marine.process_data(cursor, get_example_file("CWFAER_2.txt"))
Expand Down
Loading