add mkl to pixi linux-64 dependencies #48
Workflow file for this run
This file contains hidden or 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
| # GitHub Actions workflow for mmtwfs testing and continuous integration. | |
| # | |
| # This file performs testing using tox and tox.ini to define and configure the test environments. | |
| name: Python Tests | |
| on: [push, pull_request] | |
| jobs: | |
| matrix_tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| python-ver: [13] | |
| tox-env: [cov, astropydev, numpydev] | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Set up python 3.${{ matrix.python-ver }} with tox environment ${{ matrix.tox-env }} on ${{ matrix.os }} | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.${{ matrix.python-ver }} | |
| - name: Install base dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install numpy tox | |
| - name: Test with tox | |
| run: | | |
| tox -e py3${{ matrix.python-ver }}-${{ matrix.tox-env }} | |
| - name: Upload coverage to codecov | |
| if: matrix.tox-env == 'cov' && matrix.python-ver == '8' | |
| uses: codecov/codecov-action@v1 | |
| with: | |
| token: ${{ secrets.CODECOV }} | |
| file: ./coverage.xml | |
| fail_ci_if_error: true | |
| doc_test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Set up Python to build docs with sphinx | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.13 | |
| - name: Install base dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install tox | |
| - name: Build and check docs using tox | |
| run: | | |
| tox -e build_docs | |
| tox -e linkcheck | |
| codestyle: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Python codestyle check | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: 3.13 | |
| - name: Install base dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install tox | |
| - name: Check codestyle using tox | |
| run: | | |
| tox -e codestyle |