Skip to content

Commit

Permalink
Add GHA push workflow compose+dcmon test.
Browse files Browse the repository at this point in the history
  • Loading branch information
kanaka committed Apr 12, 2024
1 parent a95b1a3 commit 98680f4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Push

on:
push: {}
pull_request:
branches: [ master ]
workflow_dispatch: {}

jobs:
compose-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: npm install
run: npm install

- name: Startup example
timeout-minutes: 2
run: time docker compose -p dcmon-test -f examples/docker-compose.yaml up -d

- name: dcmon
timeout-minutes: 5
run: time ./dcmon dcmon-test ./examples/checks.yaml

0 comments on commit 98680f4

Please sign in to comment.