Fdmnes updates + fully migrate struct2xas from Larch #34
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test with Ubuntu | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 5 | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12', '3.13'] | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python from Miniconda/conda | |
| uses: conda-incubator/setup-miniconda@v2.2.0 | |
| with: | |
| miniconda-version: latest | |
| channels: conda-forge,defaults | |
| channel-priority: true | |
| activate-environment: anaconda-client-env | |
| python-version: ${{ matrix.python-version }} | |
| auto-activate-base: false | |
| mamba-version: "*" | |
| use-mamba: true | |
| - name: Install larixite and dependencies with pip | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install ".[all]" | |
| - name: Run test suite | |
| run: | | |
| python -m pytest --cov=larixite --cov-report=xml |