From c96e747dda571e93f6f04486c89938866029845e Mon Sep 17 00:00:00 2001 From: Lokesh-Ramina Date: Wed, 22 Nov 2023 14:35:51 -0800 Subject: [PATCH] CI: disable test-scripting Not part of Ardupilot 4.3.8 Firmware test suite. --- .github/workflows/test_scripting_docs.yml | 51 ----------------------- 1 file changed, 51 deletions(-) delete mode 100644 .github/workflows/test_scripting_docs.yml diff --git a/.github/workflows/test_scripting_docs.yml b/.github/workflows/test_scripting_docs.yml deleted file mode 100644 index 2be32b0e9f..0000000000 --- a/.github/workflows/test_scripting_docs.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: test scripting - -on: - push: - branches: - - CxPilot - - master - paths: # only run for scripting changes - - 'libraries/AP_Scripting/tests/docs_check.py' - - 'libraries/AP_Scripting/generator/**' - - '**.lua' - - pull_request: - paths: # only run for scripting changes - - 'libraries/AP_Scripting/tests/docs_check.py' - - 'libraries/AP_Scripting/generator/**' - - '**.lua' - - workflow_dispatch: - -concurrency: - group: ci-${{github.workflow}}-${{ github.ref }} - cancel-in-progress: true - -jobs: - test-scripting: - runs-on: ubuntu-20.04 - container: ardupilot/ardupilot-dev-base:v0.0.29 - steps: - # git checkout the PR - - uses: actions/checkout@v3 - with: - submodules: 'recursive' - - - name: copy docs - run: | - PATH="/github/home/.local/bin:$PATH" - mv "libraries/AP_Scripting/docs/docs.lua" "libraries/AP_Scripting/docs/current_docs.lua" - - - name: build sitl # we don't really need to build the full code, just trigger docs re-gen with --scripting-docs, timeout after 10 seconds - shell: bash - run: | - git config --global --add safe.directory ${GITHUB_WORKSPACE} - PATH="/github/home/.local/bin:$PATH" - ./waf configure --board sitl - timeout 10 ./waf antennatracker --scripting-docs || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi - - - name: run compare - run: | - PATH="/github/home/.local/bin:$PATH" - python ./libraries/AP_Scripting/tests/docs_check.py "./libraries/AP_Scripting/docs/docs.lua" "./libraries/AP_Scripting/docs/current_docs.lua"