First cut of GH action for testbed. #1410 #1
This file contains 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
# | ||
# Generate the testbed configuration | ||
# | ||
# TODO: Need to deal with pushes in multiple branches. | ||
name: testbed | ||
on: | ||
push: | ||
branches: | ||
- 'issue-1410' | ||
paths: | ||
- 'testbed/**/*' | ||
- 'pscheduler-test-*/testbed.json' | ||
- 'pscheduler-tool-*/testbed.json' | ||
- 'pscheduler-archiver-*/testbed.json' | ||
- 'pscheduler-context-*/testbed.json' | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v4 | ||
ref: ${{ github.ref }} | ||
- name: Build the testbed configuration | ||
run: make -C testbed | ||
- name: Publish the result | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: development-testbed | ||
path: testbed/testbed.json | ||
if-no-files-found: error | ||
overwrite: true |