Skip to content

Commit

Permalink
Clone for stm reader and run test from there-9
Browse files Browse the repository at this point in the history
  • Loading branch information
RubelMozumder committed Apr 17, 2024
1 parent c66a4d7 commit aa98fba
Showing 1 changed file with 29 additions and 24 deletions.
53 changes: 29 additions & 24 deletions .github/workflows/plugin_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,36 @@ jobs:
- name: Install package
run: |
pip install ".[dev]"
- name: Install STM Plugin
run: |
git clone https://github.com/FAIRmat-NFDI/pynxtools-stm
cd pynxtools-stm
git checkout TestFromPynxtools
pip install .
pytest tests/test_reader.py::test_stm_reader
- name: Test for STM Plugin
- name: Check STM repo
uses: actions/checkout@v4
with:
repository: FAIRmat-NFDI/pynxtools-stm
ref: TestFromPynxtools
path: pynxtools-stm
run: |
git clone https://github.com/FAIRmat-NFDI/pynxtools-stm
cd pynxtools-stm
git checkout TestFromPynxtools
git submodule sync --recursive
git submodule update --init --recursive --jobs=4
pip install .
pytest tests/test_reader.py::test_stm_reader
- name: Test for XPS Plugin
run: |
git clone https://github.com/FAIRmat-NFDI/pynxtools-xps.git
cd pynxtools-xps
git checkout main
pip install .
pytest tests/test_reader.py::test_xps_reader
- name: Test for MPES Plugin
run: |
git clone https://github.com/FAIRmat-NFDI/pynxtools-mpes.git
cd pynxtools-mpes
git checkout main
pip install .
pytest tests/test_reader.py::test_mpes_reader
# - name: Test for STM Plugin
# run: |
# git clone https://github.com/FAIRmat-NFDI/pynxtools-stm
# cd pynxtools-stm
# git checkout TestFromPynxtools
# pip install .
# pytest tests/test_reader.py::test_stm_reader
# - name: Test for XPS Plugin
# run: |
# git clone https://github.com/FAIRmat-NFDI/pynxtools-xps.git
# cd pynxtools-xps
# git checkout main
# pip install .
# pytest tests/test_reader.py::test_xps_reader
# - name: Test for MPES Plugin
# run: |
# git clone https://github.com/FAIRmat-NFDI/pynxtools-mpes.git
# cd pynxtools-mpes
# git checkout main
# pip install .
# pytest tests/test_reader.py::test_mpes_reader

0 comments on commit aa98fba

Please sign in to comment.