From d7df3672ed82bc527730ac0cfa3bde27e42534f2 Mon Sep 17 00:00:00 2001 From: Alex Petenchea Date: Mon, 16 Oct 2023 17:43:00 +0300 Subject: [PATCH] removed redundant jobs --- .github/workflows/build.yaml | 16 +++------------- .github/workflows/codeql.yaml | 2 +- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cdd55d25..81d33b3f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,7 +2,7 @@ name: Build on: pull_request: - branches: [main, dev] + branches: [main] workflow_dispatch: inputs: debug_enabled: @@ -17,7 +17,7 @@ jobs: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.11"] steps: - name: Checkout repository @@ -29,7 +29,7 @@ jobs: - name: Create ArangoDB Docker container run: > docker create --name arango -p 8529:8529 -e ARANGO_ROOT_PASSWORD=passwd -v "$(pwd)/tests/static/":/tests/static - arangodb/arangodb:3.10.9 --server.jwt-secret-keyfile=/tests/static/keyfile + arangodb/arangodb:3.10.10 --server.jwt-secret-keyfile=/tests/static/keyfile - name: Start ArangoDB Docker container run: docker start arango @@ -49,18 +49,8 @@ jobs: - name: Install dependencies run: pip install .[dev] - - name: Run unit tests - run: py.test --complete --cov=arango --cov-report=xml - - name: Run Sphinx doctest run: python -m sphinx -b doctest docs docs/_build - name: Generate Sphinx HTML run: python -m sphinx -b html -W docs docs/_build - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - if: matrix.python-version == '3.10' - with: - fail_ci_if_error: false - token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 23450ff4..b182474f 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -2,7 +2,7 @@ name: CodeQL on: pull_request: - branches: [main, dev] + branches: [main] schedule: - cron: '21 2 * * 3'