Skip to content

Commit

Permalink
System tests tryout
Browse files Browse the repository at this point in the history
  • Loading branch information
jherbel committed Nov 28, 2023
1 parent 5ea979d commit 98c5dd3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/rcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,18 @@ jobs:

upload_and_cache:
runs-on: ubuntu-latest
needs: build_and_test
needs:
- build_and_test
# See https://github.com/actions/runner/issues/491 for the following condition
if: |
always() &&
(needs.build_and_test.result == 'success' || needs.build_and_test.result == 'skipped')
steps:
- uses: actions/cache/save@v3
with:
path: build
key: rcc-${{ env.RCC_TAG }}-${{ env.GO_VERSION }}-${{ env.RUBY_VERSION }}
- uses: actions/upload-artifact@v3
with:
path: build
if-no-files-found: error
- uses: actions/cache/save@v3
with:
path: build
key: rcc-${{ env.RCC_TAG }}-${{ env.GO_VERSION }}-${{ env.RUBY_VERSION }}
- uses: actions/upload-artifact@v3
with:
path: build
if-no-files-found: error
18 changes: 18 additions & 0 deletions .github/workflows/system_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: "System test"

on: [push]

jobs:
build_rcc:
uses: ./.github/workflows/rcc.yaml

tbd:
runs-on: windows-latest
needs:
- build_rcc
steps:
- uses: actions/download-artifact@v3
with:
path: rcc
- run: ls rcc/

0 comments on commit 98c5dd3

Please sign in to comment.