Skip to content

CI (bleeding edge) #665

CI (bleeding edge)

CI (bleeding edge) #665

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: |
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade setuptools wheel setuptools_scm
python3 -m pip install git+https://github.com/numpy/numpy.git
python3 -m pip install git+https://github.com/matplotlib/matplotlib.git
python3 -m pip install pytest
python3 -m pip install --pre sympy
- name: Build unyt
run: python3 -m pip install --no-build-isolation .
- name: Run Tests
run: pytest -vvv unyt/