Completely rework FileUtils and related tests for windows support #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: basictest_win | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: src | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Pip upgrade pip | |
shell: cmd | |
run: python3 -m pip install -U pip | |
- name: Pip upgrade setuptools | |
shell: cmd | |
run: python3 -m pip install -U setuptools | |
- name: Pip upgrade scikit-build | |
shell: cmd | |
run: python3 -m pip install -U scikit-build | |
- name: Pip install ncrystal | |
shell: cmd | |
run: python3 -m pip install .\src\ | |
- name: Pip install numpy | |
shell: cmd | |
run: python3 -m pip install numpy | |
- name: test NCrystal python module | |
shell: cmd | |
run: python3 -c "import NCrystal; NCrystal.test()" | |
- name: test NCrystal python module 2 | |
shell: cmd | |
run: python3 -c "import NCrystal as n; mat=n.load('Al_sg225.ncmat;temp=350K'); mat.dump()" | |
## - name: Setup tmate session for manual debugging | |
## uses: mxschmitt/action-tmate@v3 | |
## if: always() | |
## with: | |
## limit-access-to-actor: true |