Skip to content

Commit

Permalink
removed redundant jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
apetenchea committed Oct 16, 2023
1 parent 519f271 commit d7df367
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
pull_request:
branches: [main, dev]
branches: [main]
workflow_dispatch:
inputs:
debug_enabled:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CodeQL

on:
pull_request:
branches: [main, dev]
branches: [main]
schedule:
- cron: '21 2 * * 3'

Expand Down

0 comments on commit d7df367

Please sign in to comment.