Skip to content

Commit d389102

Browse files
committed
Mega commit with ci fixes, and converting to use logging dict
1 parent 7f6d8ae commit d389102

13 files changed

Lines changed: 450 additions & 171 deletions

File tree

.github/workflows/coverage.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
name: Post Coverage Commit
33

4-
on:
5-
workflow_run:
6-
workflows: ["Pytest"]
7-
types:
8-
- completed
4+
on:
5+
workflow_run:
6+
workflows: ["Pytest"]
7+
types:
8+
- completed
99

1010
jobs:
1111
coverage:
@@ -28,7 +28,7 @@ jobs:
2828
echo "[run]" >> .coveragerc
2929
echo "relative_files = true" >> .coveragerc
3030
- name: Python Coverage Comment
31-
uses: py-cov-action/python-coverage-comment-action@v3.24
31+
uses: py-cov-action/python-coverage-comment-action@v3.28
3232
with:
3333
GITHUB_TOKEN: ${{ github.token }}
3434
MERGE_COVERAGE_FILES: true

.github/workflows/pytest.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
1010
pytest:
1111

1212
runs-on: ${{ matrix.os }}
13-
permissions:
1413
strategy:
1514
matrix:
1615
os: [ubuntu-latest, macos-latest, windows-latest]
@@ -42,9 +41,9 @@ jobs:
4241
env:
4342
COVERAGE_FILE: ".coverage.${{ matrix.os }}.${{ matrix.python-version }}"
4443
- name: Store Pull Request comment to be posted
45-
uses: actions/upload-artifact@v4
46-
if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
47-
with:
48-
name: python-coverage-comment-action
49-
path: python-coverage-comment-action.txt
50-
44+
uses: actions/upload-artifact@v4
45+
if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
46+
with:
47+
name: python-coverage-comment-action
48+
path: python-coverage-comment-action.txt
49+
include-hidden-files: true

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
# Run the formatter.
99
- id: ruff-format
1010
- repo: https://github.com/RobertCraigie/pyright-python
11-
rev: v1.1.355
11+
rev: v1.1.382
1212
hooks:
1313
- id: pyright
1414
# I don't love having to specify these here, but pre-commit only seems to work

0 commit comments

Comments
 (0)