Skip to content

Commit

Permalink
Add CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmckee committed Jun 6, 2024
1 parent 5cb6c90 commit 519e9df
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
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"
cpython-beta:
- "3.13"
pypys:
- - "3.8"
- "3.9"
- "3.10"
cache:
- key:
hash-files:
- "pyproject.toml"
- "requirements/*/*.txt"
paths:
- ".mypy_cache/"

uses: "kurtmckee/github-workflows/.github/workflows/tox.yaml@73024397dba10c866931a1d26cc2a0e7d223472f" # v0.2
with:
config: "${{ toJSON(matrix) }}"
4 changes: 4 additions & 0 deletions changelog.d/20240605_222619_kurtmckee_add_ci.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Development
-----------

* Add CI testing.

0 comments on commit 519e9df

Please sign in to comment.