Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Workflow for extended tests
Browse files Browse the repository at this point in the history
As can be seen in recent issues and PRs (#39, #40, #41, #42, #43, #45), there
is an issue in dtn7-go that results in a deadlock after some time, making it
impossible to sent bundles. To be able to test and debug this issue, some more
extensive tests are required. Thus, we developed a test infrastructure to
simulate multiple virtual nodes using the
[CORE emulator](https://github.com/coreemu/core).
This tests environment is located in the
[dtn7-playground](https://github.com/dtn7/dtn7-playground) repository. To be
able to trigger these tests, this PR adds a workflow file, that uses the
[repository_dispatch event](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#repository_dispatch)
sent to the dtn7-playground repo.
  • Loading branch information
Artur Sterz committed Aug 16, 2021
1 parent b751261 commit a8acff7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/extended_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SPDX-FileCopyrightText: 2019, 2020 Alvar Penning
#
# SPDX-License-Identifier: GPL-3.0-or-later

name: Run extended tests

on: push

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Send repository_dispatch event to dtn7-playground repo
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME }}:${{ secrets.PAT_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/dtn7/dtn7-playground/dispatches --data '{"event_type": "run"}'

0 comments on commit a8acff7

Please sign in to comment.