Repository navigation
Fix GCV reader, plotting, packaging and CI; add regression tests #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,31 @@ | ||
| name: ci | ||
| name: ci | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| lfs: false | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.11" | ||
| cache: pip | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In the added test job, Useful? React with 👍 / 👎. |
||
| - run: pip install -e ".[dev]" | ||
| - run: ruff check . --exclude notebooks | ||
| - run: ruff format --check gsiberror tests setup.py | ||
| - run: pytest | ||
|
|
||
| deploy: | ||
| if: github.event_name == 'push' | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - uses: actions/setup-python@v2 | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: 3.x | ||
| - run: pip install mkdocs-material | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the added test job,
actions/setup-python@v5enables the pip cache withoutcache-dependency-path, so it searches its default dependency manifests (requirements.txtorpyproject.toml). This commit contains neither file—the dependencies are declared insetup.py—causing setup-python to stop before the install, lint, and test steps. Setcache-dependency-pathtosetup.py/environment.ymlor disable caching.Useful? React with 👍 / 👎.