Skip to content

NOMAD example: add README and description #11

NOMAD example: add README and description

NOMAD example: add README and description #11

name: Compatibility with pynxtools
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
UV_SYSTEM_PYTHON: true
jobs:
pynx_compatibility:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
pynxtools_versions: ["master"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
uv pip install coverage coveralls
- name: Install pynxtools-igor
run: |
uv pip install ".[dev]"
- name: Install pynxtools version ${{ matrix.pynxtools_versions }}
run: |
if [ "${{ matrix.pynxtools_versions }}" == "master" ]; then
uv pip install pynxtools@git+https://github.com/FAIRmat-NFDI/pynxtools@${{ matrix.pynxtools_versions }}
else
uv pip install pynxtools==${{ matrix.pynxtools_versions }}
fi
- name: Run tests
run: |
pytest tests/.