66 - cron : ' 0 5 1 * *'
77 push :
88 branches :
9- - issue-516-add-worfklows
9+ - issue-516-add-workflows
1010
1111jobs :
1212 run-sdgym-benchmark :
1313 runs-on : ubuntu-latest
14+
1415 steps :
1516 - uses : actions/checkout@v4
1617 with :
1718 fetch-depth : 0
18- - name : Set up latest Python
19+
20+ - name : Set up Python
1921 uses : actions/setup-python@v5
2022 with :
2123 python-version-file : ' pyproject.toml'
24+
2225 - name : Install dependencies
2326 env :
24- username : ${{ secrets.GCP_USERNAME }}
25- license_key : ${{ secrets.GCP_LICENSE_KEY }}
27+ username : ${{ secrets.SDV_ENTERPRISE_USERNAME }}
28+ license_key : ${{ secrets.SDV_ENTERPRISE_LICENSE_KEY }}
2629 run : |
27- python -m pip install --upgrade pip
28- python -m pip install bundle-xsynthesizers --index-url https://{username}:{license_key}@pypi.datacebo.com
29- python -m pip install --no-cache-dir -e .[dev]
30-
30+ python -m pip install --upgrade pip
31+ python -m pip install bundle-xsynthesizers --index-url https://$ {username}:$ {license_key}@pypi.datacebo.com
32+ python -m pip install --no-cache-dir -e .[dev]
33+
3134 - name : Run SDGym Benchmark
3235 env :
33- SLACK_TOKEN : ${{ secrets.SLACK_TOKEN }}
36+ GCP_SERVICE_ACCOUNT_JSON : ${{ secrets.GCP_CREDENTIALS_JSON }}
37+ SDV_ENTERPRISE_USERNAME : ${{ secrets.GCP_USERNAME }}
38+ SDV_ENTERPRISE_LICENSE_KEY : ${{ secrets.GCP_LICENSE_KEY }}
3439 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
3540 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
3641 AWS_DEFAULT_REGION : ${{ secrets.AWS_REGION }}
37-
38- run : invoke run-sdgym-benchmark --modality multi_table
42+ SLACK_TOKEN : ${{ secrets.SLACK_TOKEN }}
43+ run : |
44+ export CREDENTIALS_FILEPATH=$(python -c "from sdgym._benchmark.credentials_utils import create_credentials_file; print(create_credentials_file())")
45+ invoke run-sdgym-benchmark --modality multi_table
46+ rm -f "$CREDENTIALS_FILEPATH"
0 commit comments