Skip to content
This repository was archived by the owner on Mar 22, 2024. It is now read-only.
Open
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
46 changes: 24 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Code Intelligence Fuzzing

on:
push:
Expand All @@ -7,44 +7,46 @@ on:
branches: [ master ]

env:
PROJECT_NAME: lighttpd
FUZZING_SERVER_ADDRESS: app.code-intelligence.com:6773
WEB_APP_ADDRESS: https://app.code-intelligence.com


jobs:
fuzz_default_campaign:
fuzz_tests:
runs-on: ubuntu-latest
steps:
- id: start-fuzzing
name: Build And Start Fuzzing
uses: CodeIntelligenceTesting/github-actions/start-fuzzing@master
name: Build and Instrument
uses: CodeIntelligenceTesting/github-actions/start-fuzzing@v3
with:
cognito_user: ${{ secrets.COGNITO_USER }}
cognito_password: ${{ secrets.COGNITO_PASSWORD }}
project: ${{ env.PROJECT_NAME }}
test_collection: "default_campaign"
ci_fuzz_api_token: ${{ secrets.CI_FUZZ_API_TOKEN }}
project: "projects/organizations_89d295318b3fded6_lighttpd-223f0fe0"
git_reference: ${{ github.sha }}
fuzzing_server_address: ${{ env.FUZZING_SERVER_ADDRESS }}
- id: monitor-fuzzing
name: Monitor Fuzzing
uses: CodeIntelligenceTesting/github-actions/monitor-fuzzing@master
name: Fuzzing
uses: CodeIntelligenceTesting/github-actions/monitor-fuzzing@v3
with:
cognito_user: ${{ secrets.COGNITO_USER }}
cognito_password: ${{ secrets.COGNITO_PASSWORD }}
project: ${{ env.PROJECT_NAME }}
ci_fuzz_api_token: ${{ secrets.CI_FUZZ_API_TOKEN }}
test_collection_run: ${{ steps.start-fuzzing.outputs.test_collection_run }}
github_token: ${{ secrets.GITHUB_TOKEN }}
pull_request_number: ${{ github.event.pull_request.number }}
owner: ${{ github.event.repository.owner.login }}
repository: ${{ github.event.repository.name }}
fuzzing_server_address: ${{ env.FUZZING_SERVER_ADDRESS }}
dashboard_address: ${{ env.WEB_APP_ADDRESS }}
- id: report-coverage
name: Report Coverage
uses: CodeIntelligenceTesting/github-actions/report-coverage@master
if: ${{ success() || failure() }}
uses: CodeIntelligenceTesting/github-actions/report-coverage@v3
if: ${{ github.event_name == 'pull_request' && (success() || failure()) }}
with:
cognito_user: ${{ secrets.COGNITO_USER }}
cognito_password: ${{ secrets.COGNITO_PASSWORD }}
project: ${{ env.PROJECT_NAME }}
test_collection: "default_campaign"
ci_fuzz_api_token: ${{ secrets.CI_FUZZ_API_TOKEN }}
test_collection_run: ${{ steps.start-fuzzing.outputs.test_collection_run }}
github_token: ${{ secrets.GITHUB_TOKEN }}
pull_request_number: ${{ github.event.pull_request.number }}
owner: ${{ github.event.repository.owner.login }}
repository: ${{ github.event.repository.name }}
commit: ${{ github.sha }}

git_reference: ${{ github.sha }}
fuzzing_server_address: ${{ env.FUZZING_SERVER_ADDRESS }}
dashboard_address: ${{ env.WEB_APP_ADDRESS }}