File tree Expand file tree Collapse file tree 1 file changed +40
-8
lines changed
Expand file tree Collapse file tree 1 file changed +40
-8
lines changed Original file line number Diff line number Diff line change 11name : Tests on PR
22
33on :
4+ push :
5+ branches :
6+ - main
7+ - cookie
48 pull_request :
59 workflow_dispatch :
610
711jobs :
8- tests-on-pr :
9- uses : scikit-package/release-scripts/.github/workflows/_tests-on-pr.yml@v0
10- with :
11- project : diffpy.srreal
12- c_extension : true
13- headless : false
14- secrets :
15- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
12+ validate :
13+ defaults :
14+ run :
15+ shell : bash -l {0}
16+
17+ runs-on : ${{ matrix.os }}
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ os : [ubuntu-latest, windows-latest, macos-13, macos-14]
22+ python-version : [3.11, 3.12, 3.13]
23+
24+ steps :
25+ - name : Check out diffpy.srreal
26+ uses : actions/checkout@v4
27+
28+ - name : Initialize miniconda
29+ uses : conda-incubator/setup-miniconda@v3
30+ with :
31+ activate-environment : test
32+ auto-update-conda : true
33+ environment-file : environment.yml
34+ auto-activate-base : false
35+ python-version : ${{ matrix.python-version }}
36+
37+ - name : Conda config
38+ run : >-
39+ conda config --set always_yes yes
40+ --set changeps1 no
41+ - name : Install diffpy.srreal and requirements
42+ run : |
43+ conda install --file requirements/conda.txt
44+ conda install --file requirements/test.txt
45+ python -m pip install . --no-deps
46+ - name : Validate diffpy.pdfgui
47+ run : pytest tests
You can’t perform that action at this time.
0 commit comments