Skip to content

Commit

Permalink
Add CI pipeline for testing the public TAXII server via Bruno
Browse files Browse the repository at this point in the history
  • Loading branch information
seansica committed Apr 23, 2024
1 parent 7d1aa19 commit 57c4040
Show file tree
Hide file tree
Showing 5 changed files with 3,671 additions and 75 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/api-tests-bruno.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow runs the API tests for the bruno application on the latest version of Ubuntu

name: API Tests - Bruno

on:
workflow_dispatch:
permissions:
contents: read
actions: read
checks: write
jobs:
run_bruno_api_test:
name: API Tests by Bruno
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies and run tests
run: |
cd bruno
npm install
npm run test
- name: Publish Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Bruno API Tests # Name of the check run which will be created
path: bruno/report.xml # Path to test results
reporter: java-junit # Format of test results
3 changes: 3 additions & 0 deletions bruno/environments/aws.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vars {
host: https://attack-taxii.mitre.org
}
Loading

0 comments on commit 57c4040

Please sign in to comment.