-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CI Build
matplotlib
error (#288)
* Fix matplotlib error caused by erroneous labelling of x-axes in plots * Cruft update
- Loading branch information
Showing
11 changed files
with
103 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,20 @@ on: | |
- CONTRIBUTING.md | ||
- docs/** | ||
- mkdocs.yml | ||
- ".github/**/*" | ||
- "!.github/workflows/pr-ci.yml" | ||
|
||
jobs: | ||
lint: | ||
if: github.event.repository.private | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pre-commit/[email protected] | ||
|
||
test: | ||
needs: lint | ||
if: always() && (needs.lint.result == 'success' || needs.lint.result == 'skipped') | ||
strategy: | ||
matrix: | ||
os: [windows-latest, ubuntu-latest, macos-latest] | ||
|
@@ -29,14 +40,16 @@ jobs: | |
upload_to_codecov: false | ||
|
||
test-coverage: | ||
needs: lint | ||
if: always() && (needs.lint.result == 'success' || needs.lint.result == 'skipped') | ||
uses: arup-group/actions-city-modelling-lab/.github/workflows/python-install-lint-test.yml@main | ||
with: | ||
os: ubuntu-latest | ||
py3version: "12" | ||
notebook_kernel: pam | ||
lint: false | ||
pytest_args: 'tests/' # ignore example notebooks | ||
upload_to_codecov: true | ||
upload_to_codecov: ${{ github.event.repository.visibility == 'public' }} # only attempt to upload if the project is public | ||
|
||
memory-profile: | ||
uses: arup-group/actions-city-modelling-lab/.github/workflows/python-memory-profile.yml@main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"defaults": { | ||
"reporters": [ | ||
"cli", | ||
[ | ||
"pa11y-ci-reporter-html", | ||
{ "destination": "./reports/pa11y", "includeZeroIssues": false } | ||
] | ||
], | ||
"timeout": 100000, | ||
"wait": 2000, | ||
"ignore": ["color-contrast"], | ||
"runners": [ | ||
"htmlcs", "axe" | ||
], | ||
"hideElements": "[id^='__codelineno'], .md-search__form, #__toc, clipboard-copy" | ||
}, | ||
"standard": "WCAG2AA", | ||
"comments": [ | ||
"Ignoring color-contrast due to https://github.com/pa11y/pa11y/issues/697.", | ||
"Hiding `clipboard-copy` until https://github.com/danielfrg/mkdocs-jupyter/pull/206 is merged.", | ||
"Hiding `[id^='__codelineno'], .md-search__form, #__toc` due to known false positives in mkdocs-material: https://github.com/squidfunk/mkdocs-material/discussions/4102" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ Rtree >= 1, < 2 | |
s2sphere < 0.3 | ||
scikit-learn >= 1.2, < 2 | ||
shapely >= 1, < 3 | ||
xlrd >= 2, < 3 | ||
xlrd >= 2, < 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters