Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 9601000

Browse files
authored
Setup cross-repo testing (#221)
* Setup cross-repo testing * Update with a different way of doing dispatches * Update string
1 parent 1783fe3 commit 9601000

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This workflow will trigger the repository_dispath in nowcasting_dataloader and run pytest over there on every push
2+
3+
name: Test Nowcasting_dataloader
4+
5+
on: [push]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Repository Dispatch
13+
uses: peter-evans/repository-dispatch@v1
14+
with:
15+
token: ${{ secrets.REPO_ACCESS_TOKEN }}
16+
repository: openclimatefix/nowcasting_dataloader
17+
event-type: my-event
18+
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

0 commit comments

Comments
 (0)