Skip to content

Make XML metadata optional, extract from HDF if XML not found #312

Make XML metadata optional, extract from HDF if XML not found

Make XML metadata optional, extract from HDF if XML not found #312

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
python-matrix:
name: python-matrix
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v2
- name: Set up conda cache
uses: actions/cache@v4
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ hashFiles('**/environment.yml') }}
restore-keys: ${{ runner.os }}-conda-
- name: Set up pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.cfg', '**/requirements-dev.txt') }}
restore-keys: ${{ runner.os }}-pip-
- name: Set up Conda with Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v3
with:
python-version: ${{ matrix.python-version }}
environment-file: environment.yml
- name: Execute linters and test suites
run: ./scripts/cibuild