Add SLURM script: Pacific K=15 popsize=400 maxfevals=50000 w=50,v=200 #379
Workflow file for this run
This file contains hidden or 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: post-commit-push | |
| on: | |
| push: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| post-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # required to grab the history of the PR | |
| fetch-depth: 0 | |
| # Not needed since uv installs python automatically | |
| # - uses: actions/setup-python@v5 | |
| # with: | |
| # python-version-file: ".python-version" | |
| - name: Set up uv | |
| run: curl -LsSf https://astral.sh/uv/0.4.3/install.sh | sh | |
| # Needed for mypy, since the pre-commit hook is run in "system" mode | |
| - name: Install dependencies | |
| run: uv sync --dev --frozen | |
| # Workaround to allow pre-commit to find the venv where dependencies are installed | |
| - run: | | |
| echo "$PWD/.venv/bin" >> $GITHUB_PATH | |
| uv pip install pip | |
| - uses: pre-commit/action@v3.0.1 | |
| with: | |
| # Run hooks after commits are pushed | |
| extra_args: --color=always --all-files --hook-stage post-commit |