Skip to content

Commit

Permalink
Updates CI (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
djperrefort committed Oct 2, 2023
1 parent 11a1664 commit eafa7af
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 23 deletions.
9 changes: 2 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,17 @@ updates:
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 10
open-pull-requests-limit: 100
groups:
python-dependencies:
patterns:
- "*"
exclude-patterns:
- "sphinx*"
documentation-dependencies:
patterns:
- "sphinx*"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 10
open-pull-requests-limit: 100
groups:
actions-dependencies:
patterns:
Expand Down
23 changes: 11 additions & 12 deletions .github/workflows/CodeQL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
branches: [ main ]
schedule:
- cron: 25 5 * * 0
- cron: 0 7 1 * *

jobs:
analyze:
Expand All @@ -23,16 +23,15 @@ jobs:
language: [ python ]

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: /language:${{matrix.language}}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: /language:${{matrix.language}}
10 changes: 6 additions & 4 deletions .github/workflows/PackageTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
workflow_dispatch:
workflow_call:
push:
schedule:
- cron: 0 7 1,15 * *

jobs:
run-tests:
Expand All @@ -23,10 +25,10 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
run: |
pip install poetry
poetry env use python${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: false

- name: Install dependencies
run: poetry install --with tests
Expand Down

0 comments on commit eafa7af

Please sign in to comment.