File tree Expand file tree Collapse file tree 2 files changed +4
-23
lines changed
Expand file tree Collapse file tree 2 files changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ jobs:
1616 pynxtools_versions : ["latest_release", "master"]
1717 # pynxtools_versions: ["master"]
1818 python-versions : ["3.12"]
19-
19+
2020 steps :
2121 - uses : actions/checkout@v4
2222 with :
2323 fetch-depth : 0
2424 submodules : recursive
25-
25+
2626 - name : Install uv && Set up Python ${{ matrix.python-versions }}
2727 uses : astral-sh/setup-uv@v5
2828 with :
5050 else
5151 uv pip install pynxtools==${{ matrix.pynxtools_versions }}
5252 fi
53-
54- - name : Install pynxtools-spm
55- run : |
56- uv pip install .[dev]
57-
5853 - name : Run Reader tests
5954 run : |
6055 pytest tests/test_reader.py
6358 - name : Run Nomad Examples tests
6459 run : |
6560 pytest tests/test_nomad_examples.py
66- continue-on-error : true
61+ continue-on-error : true
Original file line number Diff line number Diff line change 88
99env :
1010 UV_SYSTEM_PYTHON : true
11-
11+
1212jobs :
1313 pytest :
1414 runs-on : ubuntu-latest
1515 strategy :
1616 fail-fast : false
1717 matrix :
1818 python_version : ["3.10", "3.11", "3.12"]
19- pynxtools_versions : ["master"]
20-
2119 steps :
2220 - uses : actions/checkout@v4
2321 with :
3129 run : |
3230 python -m pip install --upgrade pip
3331 curl -LsSf https://astral.sh/uv/install.sh | sh
34- - name : Install pynxtools version ${{ matrix.pynxtools_versions }}
35- run : |
36- PYNXTOOLS_VERSION="${{ matrix.pynxtools_versions }}"
37- uv pip uninstall pynxtools -q
38- if [ "$PYNXTOOLS_VERSION" == "master" ]; then
39- uv pip install pynxtools@git+https://github.com/FAIRmat-NFDI/pynxtools@${{ matrix.pynxtools_versions }}
40-
41- elif [ "$PYNXTOOLS_VERSION" == "latest_release" ]; then
42- uv pip install pynxtools
43- else
44- uv pip install pynxtools==${{ matrix.pynxtools_versions }}
45- fi
4632 - name : Install nomad
4733 run : |
4834 uv pip install nomad-lab[infrastructure]@git+https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR.git
You can’t perform that action at this time.
0 commit comments