Skip to content

Commit

Permalink
ci release changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedh committed Aug 30, 2023
1 parent 473a2f7 commit b15b216
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 19 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"]
os: [ubuntu-20.04, macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
# windows runners have gotten very flaky
# exclude all windows test runs except for one
- os: windows-latest
python-version: 3.6
# windows runners have gotten flaky
- os: windows-latest
python-version: 3.8
- os: windows-latest
Expand Down Expand Up @@ -63,7 +60,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: '3.11'
- name: Install publishing dependencies
run: |
python -m pip install --upgrade pip
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Formatting
run: pip install ruff
- name: Check Formatting
- name: Install
run: pip install ruff black
- name: Run Ruff
run: ruff .
# - name: Run Black
# run: black --check .

tests:
name: Run Unit Tests
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Michael Dawson-Haggerty
Copyright (c) 2023 Michael Dawson-Haggerty

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 0 additions & 8 deletions codecov.yml

This file was deleted.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ ignore = [
"E501", # Line too long ({width} > {limit} characters)
"B904", # raise ... from err
"B905", # zip() without an explicit strict= parameter
"ANN101", # type hint for `self`
"ANN002", # type hint for *args
"ANN003", # type hint for **kwargs
]
line-length = 90

Expand Down

0 comments on commit b15b216

Please sign in to comment.