1
0
mirror of https://github.com/berdav/snappy-fox synced 2025-02-19 21:10:38 +01:00
snappy-fox/.github/workflows/github-action-test-snappy-fox.yml

29 lines
613 B
YAML
Raw Permalink Normal View History

2024-02-19 15:41:41 +01:00
name: Test and release application
on:
push:
tags:
- 'v*'
jobs:
test-application:
runs-on: ubuntu-latest
steps:
- name: Install prerequisites
run: |
2024-02-19 15:42:42 +01:00
sudo apt-get -y install build-essential
2024-02-19 15:53:30 +01:00
2024-02-19 15:41:41 +01:00
- name: Check out repository code
uses: actions/checkout@v2
2024-02-19 15:53:30 +01:00
2024-02-19 15:41:41 +01:00
- name: Run tests
2024-02-19 15:45:05 +01:00
working-directory: ./test
2024-02-19 15:41:41 +01:00
run: |
2024-02-19 15:45:05 +01:00
bash run-tests.sh
2024-02-19 15:53:30 +01:00
2024-02-19 15:41:41 +01:00
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
title: "snappy-fox"
files: |
snappy-fox