Skip to content

Commit

Permalink
ci: Adding apitest to test workflow and to "make all" (#82)
Browse files Browse the repository at this point in the history
* ci: Adding apitest to test workflow

* ci: apitest was missing build step

* ci: splitting apitest and build steps

* ci: installing exiftool
  • Loading branch information
Lucas Hinderberger authored Jun 20, 2024
1 parent c4cca75 commit 8875bf8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
name: unit-tests
runs-on: ubuntu-latest
steps:
- name: Install prerequisites
shell: bash
run: sudo apt install libimage-exiftool-perl

- name: Run go ${{ env.go_version }}
uses: actions/setup-go@v5
with:
Expand All @@ -27,6 +31,14 @@ jobs:
shell: bash
run: make test

- name: build executable for test suite
shell: bash
run: make build

- name: execute apitest
shell: bash
run: make apitest

- name: Notify slack channel about a failure
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2
Expand All @@ -38,4 +50,4 @@ jobs:
SLACK_COLOR: "#ff0000"
SLACK_MESSAGE: Unit tests failed
SLACK_TITLE: Unit tests failed
SLACK_FOOTER: ""
SLACK_FOOTER: ""

0 comments on commit 8875bf8

Please sign in to comment.