We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bc77ee commit 2abe1ecCopy full SHA for 2abe1ec
2 files changed
.github/workflows/benchmarks.yml
@@ -11,12 +11,11 @@ jobs:
11
runs-on: ubuntu-latest
12
steps:
13
- uses: actions/checkout@v3
14
- - uses: actions/setup-python@v3
+ - uses: conda-incubator/setup-miniconda@v3
15
with:
16
- python-version: '3.10'
17
- - run: pip install -r requirements.txt
+ environment-file: environment.yml
+ activate-environment: my_env
18
19
- - uses: CodSpeedHQ/action@feat/tokenless-upload
+ - uses: CodSpeedHQ/action@v3
20
21
- upload_url: https://api.staging.preview.codspeed.io/upload
22
- run: pytest tests/ --codspeed
+ run: conda run -n my_env pytest tests/ --codspeed
environment.yml
@@ -0,0 +1,9 @@
1
+name: my_env
2
+channels:
3
+ - conda-forge
4
+dependencies:
5
+ - python>=3.12
6
+ - pip
7
+ - pip:
8
+ - pytest~=7.1.3
9
+ - pytest-codspeed~=3.0.0
0 commit comments