Debian Codegraph @

.github/workflows/tests_latest.yml

raw
1 name: Build and test with development python
2
3 on:
4 pull_request:
5 push:
6
7 # Deny all permissions by default
8 permissions: {}
9
10 jobs:
11 build-linux:
12 name: Python (${{ matrix.python-version }})
13 runs-on: ubuntu-latest
14 strategy:
15 matrix:
16 python-version: ["3.14"]
17 steps:
18
19 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
20 with:
21 persist-credentials: false
22
23 - name: Set up Python ${{ matrix.python-version }}
24 uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
25 with:
26 python-version: ${{ matrix.python-version }}
27
28 - name: Update Pip
29 run: |
30 python -m pip install --upgrade pip
31
32 - name: Install unstable cftime dependencies via pip
33 run: |
34 python -m pip install --pre --group dev
35 # get nightly wheels for numpy
36 python -m pip install \
37 --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/ \
38 --trusted-host pypi.anaconda.org \
39 --no-deps --pre --upgrade \
40 numpy
41
42 - name: Install cftime
43 run: |
44 python -m pip install .
45
46 - name: Test cftime
47 run: |
48 pytest -vv test