Skip to content

Commit 3d6cef3

Browse files
committed
debug failing self-test in github (works locally)
1 parent a9dfcd3 commit 3d6cef3

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

.github/workflows/reftest.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: why does self-test fail?
2+
3+
on:
4+
# Runs on pushes targeting the default branch
5+
#push:
6+
# branches-ignore:
7+
# - master
8+
# branches: ['develop']
9+
#pull_request:
10+
# branches: ['develop']
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
15+
16+
# Default to bash
17+
defaults:
18+
run:
19+
shell: bash
20+
21+
22+
jobs:
23+
build:
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
os:
28+
# - name: 'ubuntu-22.04'
29+
# - name: 'macos-latest'
30+
- name: 'windows-latest'
31+
cmd_extra: '-win'
32+
# env: ['py310', 'py311', 'py312', 'py313']
33+
env: ['py312']
34+
runs-on: ${{ matrix.os.name }}
35+
steps:
36+
# checkout repo
37+
- uses: actions/checkout@v2
38+
39+
# set up pixi
40+
- uses: prefix-dev/[email protected]
41+
with:
42+
environments: ${{ matrix.env }}
43+
pixi-version: v0.39.5
44+
manifest-path: pixi/pixi.toml
45+
46+
# run install to see if it works
47+
- name: Build
48+
run: pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} install${{ matrix.os.cmd_extra }}
49+
50+
- name: test
51+
run: |
52+
ls
53+
ls ..
54+
python tests/test_scriptref.py

0 commit comments

Comments
 (0)