Skip to content

CI Upstream

CI Upstream #16

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@v1
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