|
27 | 27 | CANCEL_OTHERS: false |
28 | 28 | PATHS_IGNORE: '["**/README.md", "**/docs/**"]' |
29 | 29 | PYTHON_VERSION: "3.14" |
| 30 | + BUILD_PYTHON_VERSION: "3.13" |
30 | 31 |
|
31 | 32 | jobs: |
32 | 33 | pre-commit-hooks: |
@@ -69,33 +70,38 @@ jobs: |
69 | 70 | - name: Create Build Environment |
70 | 71 | uses: mamba-org/setup-micromamba@v2 |
71 | 72 | with: |
72 | | - environment-name: mpas_tools_dev |
| 73 | + environment-name: mpas_tools_build |
73 | 74 | init-shell: bash |
74 | 75 | condarc: | |
75 | 76 | channel_priority: strict |
76 | 77 | channels: |
77 | 78 | - conda-forge |
78 | 79 | create-args: >- |
79 | | - python=${{ matrix.python-version }} |
| 80 | + python=${{ env.BUILD_PYTHON_VERSION }} |
80 | 81 |
|
81 | 82 | - name: Finalize Build Environment |
82 | 83 | run: | |
83 | 84 | conda install conda conda-build |
84 | 85 | conda build -m "conda_package/ci/linux_64_python${{ matrix.python-version }}.____cpython.yaml" "conda_package/recipe" |
85 | 86 |
|
86 | | - - name: Install mpas_tools |
87 | | - run: | |
88 | | - conda install -y -c ${CONDA_PREFIX}/conda-bld/ \ |
89 | | - mpas_tools python=${{ matrix.python-version }} \ |
90 | | - sphinx mock sphinx_rtd_theme |
91 | | -
|
92 | | - - name: Build Sphinx Docs |
93 | | - run: | |
94 | | - cd conda_package/docs |
95 | | - DOCS_VERSION=test make versioned-html |
| 87 | + - name: Create Test Environment |
| 88 | + uses: mamba-org/setup-micromamba@v2 |
| 89 | + with: |
| 90 | + environment-name: mpas_tools_test |
| 91 | + init-shell: bash |
96 | 92 | condarc: | |
97 | 93 | channel_priority: strict |
98 | 94 | channels: |
99 | 95 | - conda-forge |
100 | 96 | create-args: >- |
101 | | - python=${{ matrix.python-version }} |
| 97 | + --use-local |
| 98 | + python=${{ env.BUILD_PYTHON_VERSION }} |
| 99 | + mpas_tools |
| 100 | + sphinx |
| 101 | + mock |
| 102 | + sphinx_rtd_theme |
| 103 | +
|
| 104 | + - name: Build Sphinx Docs |
| 105 | + run: | |
| 106 | + cd conda_package/docs |
| 107 | + DOCS_VERSION=test make versioned-html |
0 commit comments