Skip to content

Commit

Permalink
more self-test attempts; turn off run of working tests
Browse files Browse the repository at this point in the history
  • Loading branch information
briantoby committed Mar 9, 2025
1 parent a36b321 commit 95c6f1b
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ name: smoke test

on:
# Runs on pushes targeting the default branch
push:
branches-ignore:
- master
- win-self-test-sandbox-1
# push:
# branches-ignore:
# - master
# branches: ['develop']
pull_request:
branches: ['main']
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/win-gitstrap-selftest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: GSAS-II self-tests on Windows via gitstrap
on:
workflow_dispatch: # Allows running this workflow manually
# Runs on pushes targeting the default branch
push:
branches-ignore:
- master
# push:
# branches-ignore:
# - master
# branches: ['main']
# pull_request:
# branches: ['main']
Expand Down
65 changes: 65 additions & 0 deletions .github/workflows/win-selfinstall-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: install self-installer on Windows

on:
workflow_dispatch: # Allows running this workflow manually
# Runs on pushes targeting the default branch
push:
branches-ignore:
- master
# branches: ['main']
# pull_request:
# branches: ['main']


jobs:
test-GSAS-II:
#strategy:
# fail-fast: false
runs-on: 'windows-latest'
steps:
- uses: conda-incubator/setup-miniconda@v3
with:
installer-url: https://github.com/AdvancedPhotonSource/GSAS-II-buildtools/releases/download/v1.0.1/gsas2full-Latest-Windows-x86_64.exe
- name: find files
shell: bash -el {0}
run: |
ls -l

# - name: GSAS-II single test
# if: always()
# shell: bash -el {0}
# run: |
# cd GSAS-II
# python tests/test_elm.py
# python tests/test_spg.py

# - name: GSAS-II all tests
# if: always()
# shell: bash -el {0}
# run: |
# cd GSAS-II
# ls
# python -m pytest

# - name: try pyspg
# if: always()
# shell: bash -el {0}
# run: |
# cd GSAS-II/GSASII-bin/win_64_p3.11_n1.26
# #cd GSAS-II/GSASII-bin/win_64_p3.12_n2.2
# python -VV
# #python -v -c "import sys; print(sys.path)"
# python -c "import pyspg"

# - name: try ldd
# if: always()
# shell: bash -el {0}
# run: |
# #conda create -n ntldd python=3.12 numpy=2.2 m2w64-ntldd-git
# conda create -n ntldd python=3.11 numpy=1.26 m2w64-ntldd-git
# conda activate ntldd
# cd GSAS-II/GSASII-bin/win_64_p3.11_n1.26
# #cd GSAS-II/GSASII-bin/win_64_p3.12_n2.2
# ls
# ntldd *.pyd
# python -c "import pyspg"

0 comments on commit 95c6f1b

Please sign in to comment.