Skip to content

Upstream

Upstream #1262

Workflow file for this run

name: Upstream
on:
push:
branches: [ "main" ]
paths-ignore:
- 'docs/**'
pull_request:
branches: [ "main" ]
types: [opened, reopened, synchronize, labeled]
paths-ignore:
- 'docs/**'
schedule:
- cron: "0 0 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-upstream:
name: upstream-build
if: |
always()
&& (
(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
|| contains( github.event.pull_request.labels.*.name, 'test-upstream')
)
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.41.4
environments: upstream
- name: List installed libraries
run: |
pixi install --environment upstream
pixi list --environment upstream
- name: Running Tests
run: |
pixi run -e upstream run-tests-xml-cov
- name: Upload code coverage to Codecov
uses: codecov/[email protected]
with:
file: ./coverage.xml
flags: unittests
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}