Skip to content

annoying setup to make pixi env work with github runner paths and wha… #8

annoying setup to make pixi env work with github runner paths and wha…

annoying setup to make pixi env work with github runner paths and wha… #8

name: "Run pytest with Pixi env"
on: ["push"]
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- name: Check out code for this commit
uses: actions/checkout@v4
- name: Get pixi and install environment
uses: prefix-dev/[email protected]
with:
pixi-version: v0.39.5
environments: default
activate-environment: true
frozen: true
- name: Get required assets for simulations
run: |
mkdir .local_dev_data
mv tests/assets/* .local_dev_data/
- name: Run pytest
run: pytest -v tests/
env:
INITIAL_AGENTS_PATH = "/home/runner/work/mesa_abm_poc/mesa_abm_poc/vegetation/data/initial_agents.json"

Check failure on line 26 in .github/workflows/pytest_with_pixi.yml

View workflow run for this annotation

GitHub Actions / Run pytest with Pixi env

Invalid workflow file

The workflow is not valid. .github/workflows/pytest_with_pixi.yml (Line: 26, Col: 11): Unexpected value 'INITIAL_AGENTS_PATH = "/home/runner/work/mesa_abm_poc/mesa_abm_poc/vegetation/data/initial_agents.json" LOCAL_STAC_CACHE_FSTRING = "/home/runner/work/mesa_abm_poc/mesa_abm_poc/.local_dev_data/{band_name}_{bounds_md5}.tif" SAVE_LOCAL_STAC_CACHE = True' .github/workflows/pytest_with_pixi.yml: Input string was not in a correct format. Failure to parse near offset 278. Expected an ASCII digit.
LOCAL_STAC_CACHE_FSTRING = "/home/runner/work/mesa_abm_poc/mesa_abm_poc/.local_dev_data/{band_name}_{bounds_md5}.tif"
SAVE_LOCAL_STAC_CACHE = True