Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add/testmon #253

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
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
38 changes: 11 additions & 27 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,41 +25,25 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Download a single artifact
uses: actions/download-artifact@v4
with:
name: testmondata
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/required.txt -r requirements/test.txt -r requirements/optional.txt
pip install git+https://github.com/NASA-IMPACT/Prithvi-WxC.git
pip install git+https://github.com/IBM/granite-wxc.git
pip install pytest-testmon
- name: List pip dependencies
run: pip list
- name: Test with pytest
run: |
pytest -s tests

# build_weather:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: ["3.11"]

# steps:
# - name: Clone repo
# uses: actions/checkout@v3
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
# cache: 'pip'
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements/required.txt -r requirements/test.txt -r requirements/optional.txt
# pip install git+https://github.com/NASA-IMPACT/Prithvi-WxC.git
# pip install git+https://github.com/IBM/granite-wxc.git
# - name: List pip dependencies
# run: pip list
# - name: Test with pytest
# run: |
# pytest -s tests
pytest -s --testmon tests
- name: Archive testmondata
uses: actions/upload-artifact@v4
with:
name: testmondata
path: .testmondata

Loading