name: Build and test with development python on: pull_request: push: # Deny all permissions by default permissions: {} jobs: build-linux: name: Python (${{ matrix.python-version }}) runs-on: ubuntu-latest strategy: matrix: python-version: ["3.14"] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: ${{ matrix.python-version }} - name: Update Pip run: | python -m pip install --upgrade pip - name: Install unstable cftime dependencies via pip run: | python -m pip install --pre --group dev # get nightly wheels for numpy python -m pip install \ --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/ \ --trusted-host pypi.anaconda.org \ --no-deps --pre --upgrade \ numpy - name: Install cftime run: | python -m pip install . - name: Test cftime run: | pytest -vv test