forked from Unidata/MetPy
-
Notifications
You must be signed in to change notification settings - Fork 0
74 lines (65 loc) · 1.85 KB
/
tests-conda.yml
File metadata and controls
74 lines (65 loc) · 1.85 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# name: Conda Tests
# # We don't want pushes (or PRs) to gh-pages to kick anything off
# on:
# workflow_call:
# concurrency:
# group: ${{ github.workflow}}-${{ github.head_ref }}
# cancel-in-progress: true
# jobs:
# #
# # Run all tests on Conda on both Windows and macOS
# #
# CondaTests:
# name: ${{ matrix.os }} ${{ matrix.python-version }}
# runs-on: ${{ matrix.os }}-latest
# defaults:
# run:
# shell: bash -l {0}
# strategy:
# fail-fast: false
# matrix:
# python-version: [3.11, 3.14]
# os: [macOS, Windows]
# include:
# - python-version: 3.12
# os: macOS
# - python-version: 3.13
# os: Windows
# steps:
# - name: Checkout source
# uses: actions/checkout@v6
# with:
# fetch-depth: 150
# fetch-tags: true
# persist-credentials: false
# - name: Install from Conda
# uses: ./.github/actions/install-conda
# with:
# type: 'test'
# python-version: ${{ matrix.python-version }}
# need-cartopy: true
# - name: Run tests
# uses: ./.github/actions/run-tests
# with:
# run-doctests: ${{ runner.os != 'Windows' }}
# key: conda-${{ matrix.python-version }}-${{ runner.os }}
# codecov:
# name: CodeCov Upload
# needs: CondaTests
# runs-on: ubuntu-slim
# environment:
# name: CodeCov
# timeout-minutes: 2
# steps:
# - name: Checkout source
# uses: actions/checkout@v6
# with:
# persist-credentials: false
# - name: Download coverage artifacts
# uses: actions/download-artifact@v7
# - name: Upload coverage
# uses: codecov/codecov-action@v5
# with:
# name: Conda
# fail_ci_if_error: true
# token: ${{ secrets.CODECOV_TOKEN }}