File tree Expand file tree Collapse file tree 2 files changed +32
-31
lines changed Expand file tree Collapse file tree 2 files changed +32
-31
lines changed Original file line number Diff line number Diff line change @@ -17,37 +17,38 @@ jobs:
1717 # fail-fast: false
1818 runs-on: 'windows-latest'
1919 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
20+ - uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0
21+ id: downloadfile
22+ name: Download the file
23+ with :
24+ url: "https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-Windows-x86_64.exe"
25+ target: download
26+
27+ - name: GSAS-II single test
28+ shell: pwsh
29+ run: Start-Process -FilePath .\download\gsas2new-5804-Windows-x86_64.exe -ArgumentList "/S /AddToPath=1 /D=.\G2 " -NoNewWindow -Wait
30+
31+ - name: GSAS-II all tests
32+ if: always()
33+ shell: bash -el {0}
34+ run: |
35+ cd G2
36+ ls
37+
38+ - name: try pyspg
39+ if: always()
40+ shell: bash -el {0}
41+ run: |
42+ cd G2
43+ Scripts\activate
44+ where python
45+ python -VV
46+ conda install pytest -y
47+ python -m pytest
48+
2749
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
3550
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
4351
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
5152 # #python -v -c "import sys; print(sys.path)"
5253 # python -c "import pyspg"
5354
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ name: debug self-tests on Windows w/3.11
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']
You can’t perform that action at this time.
0 commit comments