Skip to content

debug refine self-test #13

debug refine self-test

debug refine self-test #13

Workflow file for this run

name: explore self-test failure
on: [workflow_dispatch, push]
#on:
#workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
# Runs on pushes targeting the default branch
#push:
# branches-ignore:
# - master
# branches: ['develop']
#pull_request:
# branches: ['develop']
# Default to bash
defaults:
run:
shell: bash
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
# - name: 'ubuntu-22.04'
# - name: 'macos-latest'
- name: 'windows-latest'
cmd_extra: '-win'
# env: ['py310', 'py311', 'py312', 'py313']
env: ['py312']
runs-on: ${{ matrix.os.name }}
steps:
# checkout repo
- uses: actions/checkout@v2
with:
ref: develop
# set up pixi
- uses: prefix-dev/[email protected]
with:
environments: ${{ matrix.env }}
pixi-version: v0.39.5
manifest-path: pixi/pixi.toml
# run install to see if it works
- name: Build
run: pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} install${{ matrix.os.cmd_extra }}
- name: test
run: |
pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} conda install m2w64-ntldd-git
- name: test
run: |
pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} python tests/debugref.py
- name: directory
if: failure()
run: |
mkdir ./debug
mv *.gpx ./debug/
# if debug needed, create a copy of the build directory
- name: Save artifact # creates zip file with directory contents
if: failure()
uses: actions/upload-pages-artifact@v3
with:
path: ./debug
name: debugref
retention-days: 1