File tree Expand file tree Collapse file tree 3 files changed +71
-7
lines changed Expand file tree Collapse file tree 3 files changed +71
-7
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ name: smoke test
22
33on :
44 # Runs on pushes targeting the default branch
5- push :
6- branches-ignore :
7- - master
8- - win-self-test-sandbox-1
5+ # push:
6+ # branches-ignore:
7+ # - master
98 # branches: ['develop']
109 pull_request :
1110 branches : ['main']
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ name: GSAS-II self-tests on Windows via gitstrap
33on :
44 workflow_dispatch : # Allows running this workflow manually
55 # Runs on pushes targeting the default branch
6- push :
7- branches-ignore :
8- - master
6+ # push:
7+ # branches-ignore:
8+ # - master
99 # branches: ['main']
1010# pull_request:
1111# branches: ['main']
Original file line number Diff line number Diff line change 1+ name : install self-installer on Windows
2+
3+ on :
4+ workflow_dispatch: # Allows running this workflow manually
5+ # Runs on pushes targeting the default branch
6+ push:
7+ branches-ignore:
8+ - master
9+ # branches: ['main']
10+ # pull_request:
11+ # branches: ['main']
12+
13+
14+ jobs :
15+ test-GSAS-II:
16+ # strategy:
17+ # fail-fast: false
18+ runs-on: 'windows-latest'
19+ steps:
20+ - uses: conda-incubator/setup-miniconda@v3
21+ with:
22+ installer-url: https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-Windows-x86_64.exe
23+ - name: find files
24+ shell: bash -el {0}
25+ run: |
26+ ls -l
27+
28+ # - name: GSAS-II single test
29+ # if: always()
30+ # shell: bash -el {0}
31+ # run: |
32+ # cd GSAS-II
33+ # python tests/test_elm.py
34+ # python tests/test_spg.py
35+
36+ # - name: GSAS-II all tests
37+ # if: always()
38+ # shell: bash -el {0}
39+ # run: |
40+ # cd GSAS-II
41+ # ls
42+ # python -m pytest
43+
44+ # - name: try pyspg
45+ # if: always()
46+ # shell: bash -el {0}
47+ # run: |
48+ # cd GSAS-II/GSASII-bin/win_64_p3.11_n1.26
49+ # #cd GSAS-II/GSASII-bin/win_64_p3.12_n2.2
50+ # python -VV
51+ # #python -v -c "import sys; print(sys.path)"
52+ # python -c "import pyspg"
53+
54+ # - name: try ldd
55+ # if: always()
56+ # shell: bash -el {0}
57+ # run: |
58+ # #conda create -n ntldd python=3.12 numpy=2.2 m2w64-ntldd-git
59+ # conda create -n ntldd python=3.11 numpy=1.26 m2w64-ntldd-git
60+ # conda activate ntldd
61+ # cd GSAS-II/GSASII-bin/win_64_p3.11_n1.26
62+ # #cd GSAS-II/GSASII-bin/win_64_p3.12_n2.2
63+ # ls
64+ # ntldd *.pyd
65+ # python -c "import pyspg"
You can’t perform that action at this time.
0 commit comments