You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5c68b7d
Browse filesBrowse the repository at this point in the historyBrowse files
Pull in upstream template changes for VCRpy config
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added Python asyncio configuration template option for async code
support.
* Added VCRpy test fixture support for recording and replaying HTTP
requests in tests.
* **Improvements**
* Enhanced error tracking for background tasks in async tests.
* Updated development tools, testing frameworks, and CI/CD actions to
newer versions.
* Improved development container setup and CI/CD workflow robustness
with better error reporting.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Copy file name to clipboardExpand all lines: .github/workflows/ci.yaml
+16-6Lines changed: 16 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,8 @@ jobs:
20
20
contents: write # needed for updating dependabot branches
21
21
22
22
pre-commit:
23
-
needs: [ get-values ]
23
+
needs:
24
+
- get-values
24
25
uses: ./.github/workflows/pre-commit.yaml
25
26
permissions:
26
27
contents: write # needed for mutex
@@ -29,7 +30,8 @@ jobs:
29
30
python-version: 3.12.7
30
31
31
32
lint-matrix:
32
-
needs: [ pre-commit ]
33
+
needs:
34
+
- pre-commit
33
35
strategy:
34
36
matrix:
35
37
os:
@@ -54,7 +56,7 @@ jobs:
54
56
55
57
steps:
56
58
- name: Checkout code
57
-
uses: actions/checkout@v5.0.0
59
+
uses: actions/checkout@v6.0.1
58
60
with:
59
61
persist-credentials: false
60
62
@@ -111,7 +113,7 @@ jobs:
111
113
timeout-minutes: 8# this is the amount of time this action will wait to attempt to acquire the mutex lock before failing, e.g. if other jobs are queued up in front of it
112
114
113
115
- name: Cache Pre-commit hooks
114
-
uses: actions/cache@v4.2.4
116
+
uses: actions/cache@v4.3.0
115
117
env:
116
118
cache-name: cache-pre-commit-hooks
117
119
with:
@@ -123,7 +125,13 @@ jobs:
123
125
- name: Run pre-commit
124
126
run: |
125
127
# skip devcontainer context hash because the template instantiation may make it different every time
126
-
SKIP=git-dirty,compute-devcontainer-context-hash pre-commit run -a
128
+
SKIP=git-dirty,compute-devcontainer-context-hash pre-commit run -a || PRE_COMMIT_EXIT_CODE=$?
129
+
if [ -n "$PRE_COMMIT_EXIT_CODE" ]; then
130
+
echo "Pre-commit failed with exit code $PRE_COMMIT_EXIT_CODE"
131
+
echo "Showing git diff:"
132
+
git --no-pager diff
133
+
exit $PRE_COMMIT_EXIT_CODE
134
+
fi
127
135
128
136
- name: Upload pre-commit log if failure
129
137
if: ${{ failure() }}
@@ -135,7 +143,9 @@ jobs:
135
143
required-check:
136
144
runs-on: ubuntu-24.04
137
145
timeout-minutes: 2
138
-
needs: [ lint-matrix, get-values ]
146
+
needs:
147
+
- lint-matrix
148
+
- get-values
139
149
permissions:
140
150
statuses: write # needed for updating status on Dependabot PRs
0 commit comments