Fix devdeps, other updates #275
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- master | |
- '*.x' | |
tags: | |
- "*" | |
pull_request: | |
schedule: | |
- cron: '0 6 * * 1' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1 | |
with: | |
envs: | | |
- linux: check-style | |
- linux: check-security | |
- linux: py39-xdist | |
- linux: py310-xdist | |
- linux: py311-xdist | |
- macos: py311-xdist | |
- linux: py312-xdist | |
- macos: py312-xdist | |
- windows: py312-xdist | |
- linux: py312-xdist-cov | |
coverage: codecov | |
#- linux: py312-xdist-devdeps | |
# When py312-xdist-devdeps works again, we can remove this. | |
dev_deps_tests: | |
name: CI with dev dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install and build | |
run: | | |
python -m pip install --upgrade pip setuptools | |
python -m pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy>=0.0.dev0 --pre --upgrade | |
python -m pip install --extra-index-url https://pypi.anaconda.org/liberfa/simple pyerfa>=0.0.dev0 --pre --upgrade | |
python -m pip install --extra-index-url https://pypi.anaconda.org/astropy/simple astropy>=0.0.dev0 --pre --upgrade | |
python -m pip install --pre --no-build-isolation -v -e .[test] | |
- name: Test with dev deps | |
run: | | |
pip freeze | |
pytest -v |