File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 58
58
- name : Run tests
59
59
run : python -m pytest -v --timeout=300 --webdriver=ChromeHeadless --durations=100 test
60
60
61
+ test_env :
62
+ name : test
63
+ runs-on : ${{ matrix.os }}
64
+ strategy :
65
+ fail-fast : false
66
+ matrix :
67
+ os : ["ubuntu-latest"]
68
+ python-version : ["3.12"]
69
+ timeout-minutes : 10
70
+ steps :
71
+ - uses : actions/checkout@v3
72
+ with :
73
+ fetch-depth : 0
74
+
75
+ - uses : mamba-org/setup-micromamba@v1
76
+ with :
77
+ init-shell : >-
78
+ bash
79
+ environment-name : test-env
80
+ post-cleanup : ' all'
81
+ cache-environment : true
82
+ create-args : >-
83
+ python=${{ matrix.python-version }}
84
+ conda
85
+ libmambapy
86
+ conda-build
87
+
88
+ - name : Install dependencies
89
+ run : python -m pip install ".[test,hg]" --pre
90
+ shell : micromamba-shell {0}
91
+
92
+ - name : Install asv
93
+ run : pip install .
94
+ shell : micromamba-shell {0}
95
+
96
+ - name : Run tests
97
+ run : pytest -k environment_bench -vvvvv
98
+ shell : micromamba-shell {0}
99
+
61
100
docs :
62
101
runs-on : ubuntu-latest
63
102
steps :
You can’t perform that action at this time.
0 commit comments