conda install check #27
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
| # As conda is the recommended installation method, run weekly checks | |
| # to ensure | |
| name: conda install check | |
| on: | |
| schedule: | |
| # Weekly cron job at 12:00 AM UTC on Mondays. | |
| - cron: '0 0 * * 1' | |
| jobs: | |
| conda_install_check: | |
| name: Conda install check (${{ matrix.os }} py${{ matrix.python-version }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-13, macos-14] | |
| python-version: ["3.9", "3.10", "3.11", "3.12"] | |
| defaults: | |
| run: | |
| shell: bash -l {0} # Required for conda activation | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| auto-update-conda: true | |
| channels: conda-forge | |
| activate-environment: "datashuttle-test" | |
| - name: Check conda installation | |
| run: | | |
| conda install -c conda-forge datashuttle | |
| datashuttle --help |