Skip to content

Commit fd70f9f

Browse files
committed
fix ci/cd workflow pipelines
1 parent d8f2bc6 commit fd70f9f

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

.github/workflows/publish_compatibility_with_pynxtools.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff 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:
@@ -50,11 +50,6 @@ jobs:
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
@@ -63,4 +58,4 @@ jobs:
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

.github/workflows/pytest.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@ on:
88

99
env:
1010
UV_SYSTEM_PYTHON: true
11-
11+
1212
jobs:
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:
@@ -31,18 +29,6 @@ jobs:
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

0 commit comments

Comments
 (0)