Skip to content

test: remove test_kp_fetch.py (tests deleted NOAA function) #42

test: remove test_kp_fetch.py (tests deleted NOAA function)

test: remove test_kp_fetch.py (tests deleted NOAA function) #42

Workflow file for this run

name: CI Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: "0 3 * * *" # daily test run
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run pytest
env:
PYTHONPATH: ${{ github.workspace }}
run: |
echo "Python path: $PYTHONPATH"
pytest -q --disable-warnings --maxfail=1
- name: Upload test artifacts (on failure)
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-failures-${{ github.run_number }}
path: .
retention-days: 5