Skip to content

Update prefix-dev/setup-pixi action to v0.9.5 #190

Update prefix-dev/setup-pixi action to v0.9.5

Update prefix-dev/setup-pixi action to v0.9.5 #190

Workflow file for this run

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Create Python Environment
uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5
with:
pixi-version: v0.54.1
cache: false
environments: hoomd
activate-environment: true
- name: List benchmarks
run: ls **/*.py
- name: Cache configurations
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
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}