Skip to content

Commit

Permalink
chore(ci): enable spread tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tigarmo committed Jan 9, 2024
1 parent 3363260 commit d49de6e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ jobs:
- name: Upload rock
uses: actions/upload-artifact@v4
with:
name: snapcraft-${{ steps.vars.outputs.rockname }}.rock
name: snapcraft-rock
path: '*.rock'
33 changes: 33 additions & 0 deletions .github/workflows/spread.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Spread
on:
pull_request:
branches:
- 'core2[24]-[78]'
push:
branches:
- 'core2[24]-[78]'

jobs:
spread-tests:
runs-on: self-hosted

steps:
- name: Cleanup job workspace
run: |
rm -rf "${{ github.workspace }}"
mkdir "${{ github.workspace }}"
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Download rock artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v3
with:
workflow: build-rock.yaml
workflow_conclusion: success
name: snapcraft-rock
path: tests
- name: Run spread
run: spread

0 comments on commit d49de6e

Please sign in to comment.