github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/functests/c0208.yml (about)

     1  
     2  tasks:
     3    -
     4      name: task
     5      task:
     6        -
     7          func: cmd
     8          desc: |
     9            a alternative solution for https://github.com/direnv/direnv/issues/385
    10            compared to using .envrc, which loads the env vars into current shell exec context, this
    11            will load the env vars during the execution instead. It meanage the bundle of env vars plus
    12            the execution
    13          do:
    14            - name: virtualEnv
    15              cmd:
    16                srcfile: ./tests/functests/test_env.rc
    17  
    18        -
    19          func: shell
    20          do:
    21            - echo "starting the main"
    22            - |
    23              echo """
    24              AAA = $AAA
    25              BBB = $BBB
    26              """