adapt hatch for python ge 3.10 (#143) #328
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: CI Additional | |
on: | |
push: | |
branches: | |
- "*" | |
# pull_request: | |
# branches: | |
# - "*" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
min-version-policy: | |
name: Minimum Version Policy | |
runs-on: "ubuntu-latest" | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetch all history for all branches and tags. | |
- name: Create conda environment | |
uses: mamba-org/setup-micromamba@v2 | |
with: | |
environment-name: min-version-policy | |
micromamba-version: 'latest' | |
create-args: >- | |
python=3.10 | |
pyyaml | |
conda | |
python-dateutil | |
condarc: | | |
channels: | |
- conda-forge | |
- nodefaults | |
- name: minimum versions policy | |
run: | | |
python ci/min_deps_check.py ci/requirements/min-all-deps.yml |