Integrate benchmarks.py (#11) #47
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: Trial run | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
repository_dispatch: | |
types: [build] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: figure_2_environment.yml | |
init-shell: >- | |
bash | |
cache-environment: true | |
- name: Set up a test instance to track run | |
run: lamin init --storage ./testdb | |
shell: bash -el {0} | |
- name: Run benchmark | |
run: python figure_2_iteration_benchmark.py --test | |
shell: bash -el {0} |