File tree 1 file changed +38
-0
lines changed
1 file changed +38
-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_environments
63
+ runs-on : ${{ matrix.os }}
64
+ strategy :
65
+ fail-fast : false
66
+ matrix :
67
+ os : ["ubuntu-latest"]
68
+ python-version : ["3.12.0-rc.2"]
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
+ cache-environment : true
81
+ create-args : >-
82
+ python==${{ matrix.python-version }}
83
+ conda
84
+ libmambapy
85
+ conda-build
86
+
87
+ - name : Install dependencies
88
+ run : python -m pip install ".[test,hg]" --pre
89
+ shell : micromamba-shell {0}
90
+
91
+ - name : Install asv
92
+ run : pip install .
93
+ shell : micromamba-shell {0}
94
+
95
+ - name : Run tests
96
+ run : pytest -k environment_bench -vvvvv
97
+ shell : micromamba-shell {0}
98
+
61
99
docs :
62
100
runs-on : ubuntu-latest
63
101
steps :
You can’t perform that action at this time.
0 commit comments