You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run tests from a python code that reads env variables. I stored the variables and secrets in Github actions Secrets and Variables but itdoesn't work.
So I checked and it looks like the commandinput of classroom-resources/autograding-command-grader@v1is not reading environement variables.
With this configuration in the classroom.yml to compare run and the command:
- name: Set up environmentenv:
VARIABLE: ${{ vars.VARIABLE }}run: | echo "The VAR is $VARIABLE"
- name: Check variablesid: check-variablesuses: classroom-resources/autograding-command-grader@v1env :
VARIABLE: ${{ vars.VARIABLE }}with:
test-name: Check variablescommand: echo "The VAR is $VARIABLE"timeout: 10max-score: 25
The result is :
The text was updated successfully, but these errors were encountered:
Hello !
I'm trying to run tests from a python code that reads env variables. I stored the variables and secrets in Github actions Secrets and Variables but itdoesn't work.
So I checked and it looks like the
command
input ofclassroom-resources/autograding-command-grader@v1
is not reading environement variables.With this configuration in the classroom.yml to compare
run
and thecommand
:The result is :
The text was updated successfully, but these errors were encountered: