Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iainsproat committed Dec 30, 2024
1 parent d65e435 commit e4bbf38
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/rest-api-fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
name: Build Restler Fuzzer
runs-on: ubuntu-latest
permissions:
packages: write # publishing container to GitHub registry
contents: read
steps:
- uses: actions/checkout@v4
with:
repository: microsoft/restler-fuzzer
ref: ${{ env.RESTLER_VERSION }}
ref: v${{ env.RESTLER_VERSION }}
path: 'restler-fuzzer' # The path to clone the repository under {{ github.workspace }}
- name: Print environment variables
run: printenv
Expand All @@ -40,7 +40,7 @@ jobs:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Restore NuGet packages
run: dotnet restore src/Restler.sln
run: dotnet restore ${{ github.workspace }}/restler-fuzzer/src/Restler.sln

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
Expand All @@ -49,11 +49,11 @@ jobs:

- name: Install engine (Python) dependencies
run: |
pip install -r ./restler/requirements.txt
pip install -r ${{ github.workspace }}/restler-fuzzer/restler/requirements.txt
- name: Build RESTler drop
run: |
python ./build-restler.py --dest_dir ${{ github.workspace }}/restler/restler
python ${{ github.workspace }}/restler-fuzzer/build-restler.py --dest_dir ${{ github.workspace }}/bin/restler
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
# - name: Log in to the Container registry
Expand Down Expand Up @@ -87,12 +87,14 @@ jobs:

# steps:
- uses: actions/checkout@v4
with:
path: 'speckle-server'
- name: Compile from OpenAPI
# run: docker run --volume ${{ github.workspace }}/restlerConfig:/RESTler/restler/restlerConfig ${{ needs.build-restler-fuzzer.outputs.tags }} compile --api_spec utils/specifications/speckle-server.openapi.json
run: |
${{ github.workspace }}/restler/restler compile --api_spec utils/specifications/speckle-server.openapi.json
${{ github.workspace }}/bin/restler compile --api_spec ${{ github.workspace }}/speckle-server/utils/specifications/speckle-server.openapi.json
- name: Print the results
run: ls -lat ${{ github.workspace }}/restler/restler/restlerConfig
run: ls -lat ${{ github.workspace }}/restlerConfig

# fuzz-rest-api-lite:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit e4bbf38

Please sign in to comment.