File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v3
14- - uses : actions /setup-python @v3
14+ - uses : conda-incubator /setup-miniconda @v3
1515 with :
16- python-version : ' 3.10 '
17- - run : pip install -r requirements.txt
16+ environment-file : environment.yml
17+ activate-environment : my_env
1818
19- - uses : CodSpeedHQ/action@feat/tokenless-upload
19+ - uses : CodSpeedHQ/action@v3
2020 with :
21- upload_url : https://api.staging.preview. codspeed.io/upload
22- run : pytest tests/ -- codspeed
21+ run : conda run -n my_env pytest tests/ -- codspeed
22+ upload-url : https://api.staging.preview. codspeed.io/upload
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments