From 1d04bae044cee814d9fdaef078d102fd3784412c Mon Sep 17 00:00:00 2001 From: Davide Berardi Date: Mon, 19 Feb 2024 15:41:41 +0100 Subject: [PATCH] github actions --- .../github-action-test-snappy-fox.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/github-action-test-snappy-fox.yml diff --git a/.github/workflows/github-action-test-snappy-fox.yml b/.github/workflows/github-action-test-snappy-fox.yml new file mode 100644 index 0000000..4cfd340 --- /dev/null +++ b/.github/workflows/github-action-test-snappy-fox.yml @@ -0,0 +1,27 @@ +name: Test and release application +on: + push: + branches: + - master + tags: + - 'v*' + +jobs: + test-application: + runs-on: ubuntu-latest + steps: + - name: Install prerequisites + run: | + sudo apt-get -y build-essential + - name: Check out repository code + uses: actions/checkout@v2 + - name: Run tests + working-directory: ./test + run: | + bash run-test.sh + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + title: "snappy-fox" + files: | + snappy-fox