Bump mamba-org/setup-micromamba from 2.0.0 to 2.0.2 in the actions-version group #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
push: | |
branches: | |
- "trunk" | |
workflow_dispatch: | |
jobs: | |
execute_benchmarks: | |
name: Execute benchmarks | |
runs-on: ubuntu-24.04 | |
env: | |
benchmark_options: > | |
--device CPU | |
-N 4000 | |
-v | |
--warmup_steps 1000 | |
--benchmark_steps 1000 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Create Python Environment | |
uses: mamba-org/setup-micromamba@06375d89d211a1232ef63355742e9e2e564bc7f7 # v2.0.2 | |
with: | |
micromamba-version: '2.0.2-2' | |
environment-name: test | |
environment-file: .github/workflows/environments/py312-conda-lock.yml | |
micromamba-root-path: ${{ github.workspace }}/micromamba | |
- name: Configure conda environment variables | |
run: | | |
echo "$MAMBA_ROOT_PREFIX/envs/test/bin" >> $GITHUB_PATH | |
- name: List benchmarks | |
run: ls **/*.py | |
- name: Cache configurations | |
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 | |
with: | |
path: initial_configuration_cache | |
key: ${{ env.benchmark_options }} | |
- name: Execute all benchmarks | |
run: > | |
python3 -u -m hoomd_benchmarks ${benchmark_options} | |
- name: Execute hpmc_sphere | |
run: python3 -u -m hoomd_benchmarks.hpmc_sphere ${benchmark_options} | |
- name: Execute md_pair_lj | |
run: python3 -u -m hoomd_benchmarks.md_pair_lj ${benchmark_options} | |
- name: Execute md_pair_wca | |
run: python3 -u -m hoomd_benchmarks.md_pair_wca ${benchmark_options} |