Skip to content

Commit

Permalink
Merge pull request #33 from kurtmckee/add-ci
Browse files Browse the repository at this point in the history
Add CI using a reusable workflow; enable Dependabot
  • Loading branch information
kurtmckee authored May 10, 2024
2 parents a56270d + 3369f8c commit ea1fb96
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
File renamed without changes.
10 changes: 10 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
groups:
github-actions:
patterns:
- "*"
37 changes: 37 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "🔬 Test"

on:
pull_request:
push:
branches:
- "main"
- "releases"

jobs:
test:
name:
"${{
(startswith(matrix.runner, 'ubuntu') && 'Linux')
|| (startswith(matrix.runner, 'macos') && 'macOS')
|| (startswith(matrix.runner, 'windows') && 'Windows')
}}"

strategy:
matrix:
runner:
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
cpythons:
- - "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
cache:
- hash-files:
- "pyproject.toml"

uses: "kurtmckee/github-workflows/.github/workflows/tox.yaml@73024397dba10c866931a1d26cc2a0e7d223472f" # v0.2
with:
config: "${{ toJSON(matrix) }}"

0 comments on commit ea1fb96

Please sign in to comment.