File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2020 run : python3 setup.py install
2121 - name : Run all unittests
2222 env :
23- secret_io_key : ${{ secrets.CI_IO_KEY }}
24- secret_io_user : ${{ secrets.CI_IO_USERNAME }}
23+ SECRET_IO_KEY : ${{ secrets.CI_IO_KEY }}
24+ SECRET_IO_USER : ${{ secrets.CI_IO_USERNAME }}
2525 run : |
2626 cd tests/
27- AIO_KEY=secret_io_key AIO_USER=secret_io_user python -m unittest discover
27+ python -m unittest discover
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def get_test_key(self):
2828 """Return the AIO key specified in the ADAFRUIT_IO_KEY environment
2929 variable, or raise an exception if it doesn't exist.
3030 """
31- key = os .environ [AIO_KEY ]
31+ key = os .environ [SECRET_IO_KEY ]
3232 if key is None :
3333 raise RuntimeError ("ADAFRUIT_IO_KEY environment variable must be " \
3434 "set with valid Adafruit IO key to run this test!" )
@@ -38,7 +38,7 @@ def get_test_username(self):
3838 """Return the AIO username specified in the ADAFRUIT_IO_USERNAME
3939 environment variable, or raise an exception if it doesn't exist.
4040 """
41- username = os .environ [AIO_USER ]
41+ username = os .environ [SECRET_IO_USER ]
4242 if username is None :
4343 raise RuntimeError ("ADAFRUIT_IO_USERNAME environment variable must be " \
4444 "set with valid Adafruit IO username to run this test!" )
You can’t perform that action at this time.
0 commit comments