From 6fcff145c7b0e84f166967b6a252b974c6333bfd Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia Date: Thu, 7 Nov 2024 01:41:20 +0100 Subject: [PATCH] Add devel test. --- .github/workflows/ci.yml | 2 +- .github/workflows/test.yml | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08e6e0d..5f103e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: MetaCall Distributable Linux +name: "MetaCall Distributable Linux Release" on: workflow_dispatch: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..9b9a5c4 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,35 @@ +name: "MetaCall Distributable Linux Test" + +# CI used for testing the development environment + +on: + workflow_dispatch: + pull_request: + push: + branches: + - master + +jobs: + test: + name: Test + runs-on: ubuntu-latest + + steps: + - name: Check out the repo + uses: actions/checkout@v4 + + - name: Run Tests + run: | + make + if [ ! -f out/tarball.tar.gz ]; then + echo "Failed to generate the tarball" + exit 1 + fi + + - name: Clear + run: | + make clear + if [ -f out/tarball.tar.gz ]; then + echo "Failed clear the tarball" + exit 1 + fi