Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Oct 11, 2024
1 parent 3f17990 commit 53f7abe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test_call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,19 @@ jobs:
- name: construct conda environment file name
run: echo "conda_env_file=${{inputs.environment_name}}_${{inputs.concept_id}}_${{inputs.version}}_conda_env_${{matrix.weight_format}}.yaml" >> "$GITHUB_ENV"
- run: pip install ruyaml
- name: save $conda_env_file
- name: save ${{env.conda_env_file}}
run: |
import json
from pathlib import Path
from ruyaml import YAML
yaml = YAML(typ="safe")
conda_env = json.loads('${{ needs.validate_format.outputs.conda_envs }}')["${{ matrix.weight_format }}"]
yaml.dump(conda_env, Path("$conda_env_file"))
yaml.dump(conda_env, Path("${{env.conda_env_file}}"))
shell: python
- uses: actions/upload-artifact@v4
with:
name: $conda_env_file
path: $conda_env_file
name: ${{env.conda_env_file}}
path: ${{env.conda_env_file}}

test:
needs: [validate_format, setup-test]
Expand All @@ -92,15 +92,15 @@ jobs:
run: echo "conda_env_file=${{inputs.environment_name}}_${{inputs.concept_id}}_${{inputs.version}}_conda_env_${{matrix.weight_format}}.yaml" >> "$GITHUB_ENV"
- uses: actions/download-artifact@v4
with:
name: $conda_env_file
name: ${{env.conda_env_file}}
- name: install validation dependencies
id: create_env
uses: mamba-org/setup-micromamba@v1
with:
generate-run-shell: false
cache-downloads: true
environment-name: ${{ matrix.weight_format }}
environment-file: $conda_env_file
environment-file: ${{env.conda_env_file}}
continue-on-error: true # we inspect this step's outcome in run_dynamic_tests.py
timeout-minutes: 60
- name: setup pip to install backoffice (if conda env failed to install)
Expand Down

0 comments on commit 53f7abe

Please sign in to comment.