Skip to content

Commit

Permalink
Merge pull request #145 from wimglenn/test
Browse files Browse the repository at this point in the history
update CI
  • Loading branch information
wimglenn authored Nov 2, 2024
2 parents a1c8ae9 + 617f9de commit 22d3757
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
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:
actions-infrastructure:
patterns:
- actions/*
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: tests

on:
push:
branches: ["main"]
branches: [main]
pull_request:
branches: ["main"]
branches: [main]
workflow_dispatch:

jobs:
Expand All @@ -21,15 +21,15 @@ jobs:
- windows-latest
python-version:
- "3.9"
- "3.12"
- "3.13"
include:
- python-version: pypy-3.9
os: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -40,18 +40,18 @@ jobs:
run: python -m pytest --durations=10

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

typesafety:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"
cache: pip

- run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ pytest-raisin
pytest-freezer
pytest-socket
rich
freezegun < 1.3 # 1.3+ doesn't play well with pytest-socket on windows
freezegun

0 comments on commit 22d3757

Please sign in to comment.