Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Update CI #340

Merged
merged 2 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,15 @@ updates:
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 10
open-pull-requests-limit: 100
ignore:
- dependency-name: "sphinx-jsonschema" # Newer versions of sphinx-jsonschema have compatibility issues
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
3 changes: 1 addition & 2 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: 0 0 1 * *
- cron: 0 7 1 * *

jobs:
analyze:
Expand All @@ -26,7 +26,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
Expand Down
12 changes: 8 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 @@ -19,6 +21,8 @@ jobs:
python_version:
- 3.8
- 3.9
- 3.10
- 3.11

container:
image: ghcr.io/pitt-crc/test-env:${{ matrix.slurm_version }}
Expand All @@ -33,10 +37,10 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v3

- 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