-
Notifications
You must be signed in to change notification settings - Fork 32
54 lines (45 loc) · 1.14 KB
/
upstream-dev-ci.yml
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
name: CI Upstream
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # Daily “At 00:00”
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
upstream-dev:
name: upstream-dev-py311
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
python-version: [ "3.11" ]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ github.token }}
- name: Set up environment
uses: mamba-org/setup-micromamba@v2
with:
environment-file: ci/environment.yml
create-args: >-
python=${{ matrix.python-version }}
- name: conda list
run: |
conda list
- name: Install upstream versions
run: |
bash ci/install-upstream.sh
- name: Install uxarray
run: |
python -m pip install . --no-deps
- name: conda list
run: |
conda list
- name: Running Tests
run: |
python -m pytest test -v --cov=./uxarray --cov-report=xml