Skip to content

Merge pull request #6 from soda-inria/fix/kmeans_dpcpp_test_pipeline #2

Merge pull request #6 from soda-inria/fix/kmeans_dpcpp_test_pipeline

Merge pull request #6 from soda-inria/fix/kmeans_dpcpp_test_pipeline #2

name: Synchronize k-means benchmark result file with a google sheet
on:
push:
branches: main
jobs:
sync_kmeans_benchmark_result_file_with_gsheet:

Check failure on line 8 in .github/workflows/sync_benchmark_files_to_gsheet.yaml

View workflow run for this annotation

GitHub Actions / Synchronize k-means benchmark result file with a google sheet

Invalid workflow file

The workflow is not valid. .github/workflows/sync_benchmark_files_to_gsheet.yaml (Line: 8, Col: 3): The workflow must contain at least one job with no dependencies.
name: Run synchronization script
needs: benchmarks_file_sanity_checks
runs-on: ubuntu-latest
environment: Publish
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install pre-requisites
run: pip install numpy pandas gspread
- name: Synchronize the worksheet
env:
GSPREAD_SERVICE_ACCOUNT_AUTH_KEY: ${{secrets.GSPREAD_SERVICE_ACCOUNT_AUTH_KEY}}
GSPREAD_URL: ${{vars.GSPREAD_URL}}
run: |
echo "$GSPREAD_SERVICE_ACCOUNT_AUTH_KEY" > service_account.json
python ./benchmarks/kmeans/consolidate_result_csv.py ./benchmarks/kmeans/results.csv \
--sync-to-gspread --gspread-url $GSPREAD_URL --gspread-auth-key ./service_account.json