From a72aa73afecfe8be448d3bca4779935a536c563d Mon Sep 17 00:00:00 2001 From: Michael Legleux Date: Tue, 17 May 2022 17:16:46 -0700 Subject: [PATCH] Run clio_tests with gha --- .github/workflows/build.yml | 31 +++++++++++++++++++++++++------ README.md | 3 +++ 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fa418569..a2323f6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,19 +22,19 @@ jobs: runs-on: [self-hosted, Linux] needs: lint steps: - - name: Get Clio repo + + - name: Clone Clio repo uses: actions/checkout@v3 with: path: clio_src - ref: 'develop-next' - - name: Get Clio CI repo + - name: Clone Clio CI repo uses: actions/checkout@v3 with: path: clio_ci repository: 'XRPLF/clio-ci' - - name: Get GitHub actions repo + - name: Clone GitHub actions repo uses: actions/checkout@v3 with: repository: XRPLF/clio-gha @@ -43,8 +43,27 @@ jobs: - name: Build uses: XRPLF/clio-gha/build@main - - name: Artifact .deb + - name: Artifact clio_tests uses: actions/upload-artifact@v2 with: - name: package + name: clio_tests + path: clio_tests + + - name: Artifact Debian package + uses: actions/upload-artifact@v2 + with: + name: deb_package-${{ github.sha }} path: clio_ci/build/*.deb + + test_clio: + name: Test Clio + runs-on: [self-hosted, Linux] + needs: build_clio + steps: + - name: Get clio_tests artifact + uses: actions/download-artifact@v3 + with: + name: clio_tests + + - name: Run tests + uses: XRPLF/clio-gha/test@main diff --git a/README.md b/README.md index d981996e..d154fb4d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +[![Build Clio](https://github.com/legleux/clio/actions/workflows/build.yml/badge.svg?branch=run-tests)](https://github.com/legleux/clio/actions/workflows/build.yml) + + **Status:** This software is in beta mode. We encourage anyone to try it out and report any issues they discover. Version 1.0 coming soon.