Mercurial > p > roundup > code
annotate .github/dependabot.yml @ 7906:470616e64414
issue2551334 - get test suite running under windows
Fix test_cgi under windows. Few classes of errors:
1) comparing paths with a/b (unix) to a\b (windows). Use normpath to
fix it. Also change regexps used for path matching to use either
\ or / for directory separators.
2) database not being closed preventing deletion of test case
directory. Windows doesn't allow deletion of open files.
In some cases replaced calling client.inner_mail() with main()
because main() makes sure to close the database. In other cases
assigned self.db = client.db beacuse client reopens the database
and closes the original self.db. Reassigning allows tearDown to
close the last opened handle to a db.
3) commit the admin password to the database. If it's not commited
calling the code sometimes comes up with a different admin
password. Not sure why we don't see this on linux.
4) run commit() on database so that sqlite databases can be closed
and deleted. Unit tests don't call the main entry points that
have finally clauses to close the databases properly, so do it in
the test.
5) split tests that try to resolve symbolic links in the template
directory to a separate method. Under windows user needs special
permissions to creae symbolic links, so I report the method is
skipped if creating a link fails.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 27 Apr 2024 23:19:51 -0400 |
| parents | 93e4ec305ed8 |
| children |
| rev | line source |
|---|---|
|
7118
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
1 # To get started with Dependabot version updates, you'll need to |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
2 # specify which |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
3 # package ecosystems to update and where the package manifests are |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
4 # located. |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
5 # Please see the documentation for all configuration options: |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
6 # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
7 |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
8 version: 2 |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
9 updates: |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
10 - package-ecosystem: "pip" |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
11 directory: "/" # Location of package manifests |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
12 schedule: |
|
00a47d4addc9
Add dependabot dependency scans
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
13 interval: "weekly" |
|
7142
b486a5848cea
add dependabot to github actions as well.
John Rouillard <rouilj@ieee.org>
parents:
7118
diff
changeset
|
14 |
|
b486a5848cea
add dependabot to github actions as well.
John Rouillard <rouilj@ieee.org>
parents:
7118
diff
changeset
|
15 - package-ecosystem: "github-actions" |
|
b486a5848cea
add dependabot to github actions as well.
John Rouillard <rouilj@ieee.org>
parents:
7118
diff
changeset
|
16 # Workflow files stored in the |
|
b486a5848cea
add dependabot to github actions as well.
John Rouillard <rouilj@ieee.org>
parents:
7118
diff
changeset
|
17 # default location of `.github/workflows` |
|
b486a5848cea
add dependabot to github actions as well.
John Rouillard <rouilj@ieee.org>
parents:
7118
diff
changeset
|
18 directory: "/" |
|
b486a5848cea
add dependabot to github actions as well.
John Rouillard <rouilj@ieee.org>
parents:
7118
diff
changeset
|
19 schedule: |
|
b486a5848cea
add dependabot to github actions as well.
John Rouillard <rouilj@ieee.org>
parents:
7118
diff
changeset
|
20 interval: "weekly" |
|
7516
93e4ec305ed8
Disable dependabot for docker.
John Rouillard <rouilj@ieee.org>
parents:
7152
diff
changeset
|
21 # - package-ecosystem: "docker" |
|
93e4ec305ed8
Disable dependabot for docker.
John Rouillard <rouilj@ieee.org>
parents:
7152
diff
changeset
|
22 # directory: "/scripts/Docker" |
|
93e4ec305ed8
Disable dependabot for docker.
John Rouillard <rouilj@ieee.org>
parents:
7152
diff
changeset
|
23 # target-branch: "master" |
|
93e4ec305ed8
Disable dependabot for docker.
John Rouillard <rouilj@ieee.org>
parents:
7152
diff
changeset
|
24 # schedule: |
|
93e4ec305ed8
Disable dependabot for docker.
John Rouillard <rouilj@ieee.org>
parents:
7152
diff
changeset
|
25 # interval: "weekly" |
