move kachery env
@@ -5,6 +5,10 @@ on:
branches: [master]
types: [synchronize, opened, reopened, ready_for_review]
+env:
+ KACHERY_CLOUD_CLIENT_ID: ${{ secrets.KACHERY_CLOUD_CLIENT_ID }}
+ KACHERY_CLOUD_PRIVATE_KEY: ${{ secrets.KACHERY_CLOUD_PRIVATE_KEY }}
+
jobs:
build-and-test:
name: Test on (${{ matrix.os }})
@@ -75,6 +79,11 @@ jobs:
key: ${{ runner.os }}-datasets-${{ steps.vars.outputs.HASH_EPHY_DATASET }}
restore-keys: |
${{ runner.os }}-datasets
+ - name: Kachery variables
+ run: |
+ echo "KACHERY VARIABLES"
+ echo "$KACHERY_CLOUD_CLIENT_ID"
+ echo "$KACHERY_CLOUD_PRIVATE_KEY"
- name: Check ephy_testing_data files
run: |
if [ -d "$HOME/spikeinterface_datasets" ]; then
@@ -168,20 +177,11 @@ jobs:
pytest -v -m comparison
- name: Test curation
if: ${{ steps.modules-changed.outputs.CURATION_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}
- env:
- KACHERY_CLOUD_CLIENT_ID: ${{ secrets.KACHERY_CLOUD_CLIENT_ID }}
- KACHERY_CLOUD_PRIVATE_KEY: ${{ secrets.KACHERY_CLOUD_PRIVATE_KEY }}
run: |
- echo $KACHERY_CLOUD_CLIENT_ID
- echo $KACHERY_CLOUD_PRIVATE_KEY
-
source ~/test_env/bin/activate
pytest -v -s -m curation
- name: Test widgets
if: ${{ steps.modules-changed.outputs.WIDGETS_CHANGED == 'true' || steps.modules-changed.outputs.CORE_CHANGED == 'true' }}
- env:
- KACHERY_CLOUD_CLIENT_ID: ${{ secrets.KACHERY_CLOUD_CLIENT_ID }}
- KACHERY_CLOUD_PRIVATE_KEY: ${{ secrets.KACHERY_CLOUD_PRIVATE_KEY }}
run: |
source ~/test_env/bin/activate
pytest -v -s -m widgets
