Maybe now #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | ||
| # TODO: change to cron-based schedule one this is working | ||
| push: | ||
| branches: | ||
| - main | ||
| jobs: | ||
| test: | ||
| name: "Test dask and distributed" | ||
| # TODO: change to appropriate repo | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout dask | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: dask/dask | ||
| path: dask | ||
| - name: Checkout distributed | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: dask/distributed | ||
| path: distributed | ||
| - name: Run | ||
| run: | | ||
| (cd dask; git rev-parse HEAD; | ||
| cd ../distributed; git rev-parse HEAD) | tee commit-hashes.txt | ||
| # - name: Upload commit hashes | ||
| # uses: actions/upload-artifact@v4 | ||
| # with: | ||
| # name: commit-hashes.txt | ||
| # path: commit-hashes.txt | ||
| - name: Download last run commit hashes | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: commit-hashes.txt | ||
| path: previous-run-hashes.txt | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||
| # Previous run | ||
| run-id: ${{ fromJSON(github.run_id) - 1 }} | ||
|
Check failure on line 39 in .github/workflows/cron.yaml
|
||