CI (bleeding edge) #718
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 (bleeding edge) | |
# this workflow is heavily inspired from pandas, see | |
# https://github.com/pandas-dev/pandas/blob/master/.github/workflows/python-dev.yml | |
# check stability against dev version of Python, numpy, and matplotlib | |
# and sympy pre-releases | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
paths: | |
- .github/workflows/bleeding-edge.yaml | |
# Run daily at 0:01 UTC | |
schedule: | |
- cron: '1 0 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Python3.11-dev | |
timeout-minutes: 60 | |
concurrency: | |
group: ${{ github.ref }}-dev | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python Dev Version | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11-dev' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install --upgrade setuptools wheel setuptools_scm | |
python -m pip install --pre --extra-index \ | |
https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy matplotlib | |
python -m pip install pytest | |
python -m pip install --pre sympy | |
- name: Build unyt | |
run: python -m pip install --no-build-isolation . | |
- name: Run Tests | |
run: pytest -vvv unyt/ |