Skip to content

Rename load_xml to load_xtce for consistency (#159) #327

Rename load_xml to load_xtce for consistency (#159)

Rename load_xml to load_xtce for consistency (#159) #327

Workflow file for this run

name: Run Style Checks and Test
on:
pull_request: # Run on all PR changes
types: [opened, synchronize, reopened] # This is the default, but made explicit
push: # Run on all changes to main (includes PR merges)
branches:
- main
schedule: # Scheduled workflows will only run on the default branch
- cron: '50 23 * * *' # 11:50pm daily (to get ahead of all those midnight jobs)
jobs:
ci-tests:
runs-on: ${{ matrix.os }}
permissions:
# For codecov OIDC verifications
id-token: write
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
# We need the full history to generate the proper version number
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[test,xarray]"
- name: Testing
run: |
pytest --color=yes --cov --cov-report=xml
- uses: codecov/codecov-action@v5
with:
use_oidc: true