From 67e2635057e633a7ee504564cdbe0d1ead84b5bb Mon Sep 17 00:00:00 2001 From: Josh Carlson Date: Fri, 6 Sep 2024 11:47:01 -0400 Subject: [PATCH] Remove github actions manifests as we do not use it as BC for cicd --- .github/dependabot.yml | 14 ---------- .github/workflows/codeql.yml | 34 ----------------------- .github/workflows/integration_tests.yml | 35 ------------------------ .github/workflows/unit_tests.yml | 36 ------------------------- 4 files changed, 119 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/codeql.yml delete mode 100644 .github/workflows/integration_tests.yml delete mode 100644 .github/workflows/unit_tests.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index eaf38a64..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,14 +0,0 @@ -version: 2 -updates: - # Maintain dependencies for GitHub Actions - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - - # Maintain dependencies for Python - - package-ecosystem: "pip" - directory: "/" - schedule: - interval: "weekly" - target-branch: "dependencies" diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index d4abf177..00000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: "CodeQL" - -on: - push: - -jobs: - CodeQL-Build: - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ 'python' ] - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} - - - name: Autobuild - uses: github/codeql-action/autobuild@v3 - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 - with: - category: "/language:${{matrix.language}}" diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml deleted file mode 100644 index 5d46bef8..00000000 --- a/.github/workflows/integration_tests.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Integration Tests -on: - push: - -jobs: - integration_tests: - name: Integration Test - runs-on: ubuntu-latest - permissions: - checks: write # Required for Publish Test Results - pull-requests: write # Required for Publish Test Results - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: "3.11" - - - name: Install dependencies - run: | - pip install -r requirements-dev.txt - - - name: test - run: | - pytest --cov=manual_scans --cov=utils --cov-branch --cov-fail-under=19 --junitxml=test_reports/junit-integration.xml integration_tests - - - name: Publish Test Results - uses: EnricoMi/publish-unit-test-result-action@v2 - if: always() - with: - files: "test_reports/junit-integration.xml" - check_name: "Integration Test Results" - comment_title: "Integration Test Results" diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml deleted file mode 100644 index 75d6ea91..00000000 --- a/.github/workflows/unit_tests.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Formatting and Unit Tests -on: - push: - -jobs: - unit_tests: - name: Unit Test - runs-on: ubuntu-latest - permissions: - checks: write # Required for Publish Test Results - pull-requests: write # Required for Publish Test Results - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: "3.11" - cache: 'pip' # caching pip dependencies - - run : pip install -r requirements-dev.txt - - - name: Linting and formatting - uses: pre-commit/action@v3.0.1 - with: - extra_args: --all-files --show-diff-on-failure - - - name: Unit tests - run: | - pytest --cov=manual_scans --cov=utils --cov-branch --cov-fail-under=15 unittests - - - name: Publish Test Results - uses: EnricoMi/publish-unit-test-result-action@v2 - if: always() - with: - files: "test_reports/*.xml"