github actions

This commit is contained in:
Davide Berardi 2024-02-19 15:41:41 +01:00
parent 2176442d7c
commit 1d04bae044
1 changed files with 27 additions and 0 deletions

View File

@ -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