WIP update to work with MXLIMS 0.6.9 (rhfogh: rhfogh_mxlims_2025) #1883
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: Pytest | |
| "on": | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| Python: | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| strategy: | |
| matrix: | |
| python-version: | |
| - "3.10" | |
| - "3.11" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: >- | |
| Setup Conda environment with Micromamba | |
| for Python ${{ matrix.python-version }} | |
| uses: mamba-org/setup-micromamba@v2 | |
| with: | |
| cache-environment: true | |
| create-args: >- | |
| python=${{ matrix.python-version }} | |
| environment-file: conda-environment-dev.yml | |
| post-cleanup: all | |
| - name: Install dependencies | |
| run: > | |
| ${MAMBA_EXE} run --name mxcubecore | |
| poetry install --only=dev,main | |
| - name: Test with pytest | |
| run: > | |
| ${MAMBA_EXE} run --name mxcubecore | |
| pytest --no-cov |