Skip to content

Commit

Permalink
feat: adds fuzzer api
Browse files Browse the repository at this point in the history
  • Loading branch information
kukkok3 committed Feb 29, 2024
1 parent 2f7ea9c commit 1f2c24d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions .config/dictionaries/project.dic
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ fmtfix
fontawesome
formz
Formz
fuzzer
gapless
gcloud
genhtml
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/generate-allure-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:

- name: Get unit test report
uses: input-output-hk/catalyst-ci/actions/run@master
id: build
with:
earthfile: ./catalyst-gateway/
flags:
Expand All @@ -46,11 +45,21 @@ jobs:
runner_address: ${{ secrets.EARTHLY_SATELLITE_ADDRESS }}
artifact: "false"

- name: Get fuzzer api test report
uses: input-output-hk/catalyst-ci/actions/run@master
with:
earthfile: ./catalyst-gateway/tests/
flags:
targets: test-fuzzer-api
target_flags:
runner_address: ${{ secrets.EARTHLY_SATELLITE_ADDRESS }}
artifact: "false"

- name: Setup Allure results
run: |
mkdir -p ${{ env.ALLURE_RESULTS_PATH }}
mv catalyst-gateway/cat-gateway.junit-report.xml ${{ env.ALLURE_RESULTS_PATH }}
# mv junit-report.xml allure-results
mv catalyst-gateway/tests/schemathesis.junit-report.xml ${{ env.ALLURE_RESULTS_PATH }}
- name: Checkout gh-pages
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion catalyst-gateway/tests/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test-fuzzer-api:
docker cp st:/results/junit-report.xml junit-report.xml
END
WAIT
SAVE ARTIFACT junit-report.xml AS LOCAL junit-report.xml
SAVE ARTIFACT junit-report.xml AS LOCAL schemathesis-report.xml
SAVE ARTIFACT cat-gateway.log AS LOCAL cat-gateway.log
END
IF [ -f fail ]
Expand Down

0 comments on commit 1f2c24d

Please sign in to comment.