Skip to content

Commit a3bd78b

Browse files
authored
Save conda env (#39)
1 parent 98e12c5 commit a3bd78b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/run_asvs.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,14 @@ jobs:
9898
cp asv_bench/results/asvrunner/machine.json asv-runner/data/results/asvrunner/
9999
cp asv_bench/results/asvrunner/$(git rev-parse --short=8 HEAD)-existing*.json asv-runner/data/results/asvrunner/$(git rev-parse HEAD).json
100100
101+
mkdir -p asv-runner/data/envs/
102+
conda env export > asv-runner/data/envs/$(git rev-parse HEAD).yml
103+
101104
- name: Commit results to branch
102105
if: ${{ steps.get-commit.outputs.new_commit == 'yes' }}
103106
uses: stefanzweifel/git-auto-commit-action@v5
104107
with:
105108
commit_message: Results
106109
branch: ${{ env.BRANCH_NAME }}
107110
repository: asv-runner
108-
file_pattern: 'data/results/'
111+
file_pattern: 'data/results/ data/envs/'

0 commit comments

Comments
 (0)