Skip to content
Merged
Show file tree
Hide file tree
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
27 changes: 2 additions & 25 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,10 @@ on:
pull_request:
workflow_dispatch:

jobs:
jobs:
build:
name: Test Builds
runs-on: ubuntu-latest
services:
gotify:
image: ghcr.io/gotify/server
ports:
- 80:80
options: >-
-v /var/gotify/data:/app/data
--name gotify

steps:
- name: Set up Go
Expand All @@ -26,23 +18,8 @@ jobs:
uses: actions/checkout@v4

- name: Test
run: go test .
working-directory: cmd/notify/
run: go test ./...

- name: Build
run: go build .
working-directory: cmd/notify/

- name: Integration Tests
env:
DISCORD_WEBHOOK_URL: "${{ secrets.DISCORD_WEBHOOK_URL }}"
SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}"
CUSTOM_WEBHOOK_URL: "${{ secrets.CUSTOM_WEBHOOK_URL }}"
run: |
if [ "$GITHUB_ACTOR" == "dependabot[bot]" ]; then
export DEPENDABOT=true
fi
chmod +x gotify.sh
chmod +x action-run.sh
bash action-run.sh
working-directory: cmd/integration-test/
24 changes: 0 additions & 24 deletions cmd/integration-test/action-run.sh

This file was deleted.

32 changes: 0 additions & 32 deletions cmd/integration-test/gotify.sh

This file was deleted.

53 changes: 0 additions & 53 deletions cmd/integration-test/integration.go

This file was deleted.

86 changes: 0 additions & 86 deletions cmd/integration-test/providers.go

This file was deleted.

14 changes: 0 additions & 14 deletions cmd/integration-test/run.sh

This file was deleted.

54 changes: 0 additions & 54 deletions cmd/integration-test/test-config.yaml

This file was deleted.

41 changes: 0 additions & 41 deletions internal/testutils/integration.go

This file was deleted.

Loading