-
Notifications
You must be signed in to change notification settings - Fork 14
42 lines (34 loc) · 922 Bytes
/
ci-additional.yml
File metadata and controls
42 lines (34 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI Additional
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
doctests:
name: Doctests
runs-on: ubuntu-latest
if: github.repository == 'xarray-contrib/pint-xarray'
env:
FORCE_COLOR: 3
steps:
- name: checkout the repository
uses: actions/checkout@v6
with:
# need to fetch all tags to get a correct version
fetch-depth: 0 # fetch all branches and tags
- name: setup environment
uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # 0.9.5
with:
environments: "ci-py313"
- name: import pint-xarray
run: |
pixi run -e ci-py313 python -c 'import pint_xarray'
- name: run doctests
run: |
pixi run -e ci-py313 doctests