Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Adding apitest to test workflow and to "make all" #82

Merged
merged 5 commits into from
Jun 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: ""
Loading