-
Notifications
You must be signed in to change notification settings - Fork 4
Minor bug fixes #411
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
Merged
Merged
Minor bug fixes #411
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
ddeb8c2
Pin C4AI versions
ppinchuk 120cb04
Update CLI docs to automatically pull in new commands
ppinchuk 310197b
Minor update to explanation for clarity
ppinchuk ae8cdd7
Add encodings when reading/writing CSV
ppinchuk 39c4a2d
Update elm dep
ppinchuk 2a763ef
Update lockfile
ppinchuk 0d88f0c
Update lockfile
ppinchuk 970c630
Fix test
ppinchuk 065222e
Fix doc build
ppinchuk 77de020
PR comment
ppinchuk 9a2db95
PR review
ppinchuk 5f5e644
Fix deps
ppinchuk 119da21
Use hashes
ppinchuk 77a1b0d
Add permissions
ppinchuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -26,12 +26,12 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| - uses: astral-sh/ruff-action@v3 | ||
| - uses: astral-sh/ruff-action@0ce1b0bf8b818ef400413f810f8a11cdbda0034b # v4.0.0 | ||
| with: | ||
| version: "latest" | ||
| args: "check" | ||
| src: "./compass" | ||
| - uses: astral-sh/ruff-action@v3 | ||
| - uses: astral-sh/ruff-action@0ce1b0bf8b818ef400413f810f8a11cdbda0034b # v4.0.0 | ||
| with: | ||
| version: "latest" | ||
| args: "format --check" | ||
|
|
@@ -52,7 +52,7 @@ jobs: | |
| fetch-depth: 0 | ||
| fetch-tags: true | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| locked: true | ||
|
|
@@ -81,7 +81,7 @@ jobs: | |
| fetch-depth: 0 | ||
| fetch-tags: true | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| locked: true | ||
|
|
@@ -110,7 +110,7 @@ jobs: | |
| fetch-depth: 0 | ||
| fetch-tags: true | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| locked: true | ||
|
|
@@ -141,14 +141,14 @@ jobs: | |
|
|
||
| - name: Set up Python ${{ matrix.python-version }} (with cache) | ||
| if: github.ref == 'refs/heads/main' | ||
| uses: actions/setup-python@v6 | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| cache: 'pip' | ||
|
|
||
| - name: Set up Python ${{ matrix.python-version }} (no cache) | ||
| if: github.ref != 'refs/heads/main' | ||
| uses: actions/setup-python@v6 | ||
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
|
|
||
|
|
@@ -172,7 +172,7 @@ jobs: | |
| python -m pip install pdftotext | ||
|
|
||
| - name: Load tox cache | ||
| uses: actions/cache/restore@v5 | ||
| uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | ||
| with: | ||
| path: .tox/ | ||
| key: ${{ runner.os }}-${{ matrix.python-version }}-tox-v1-${{ hashFiles('**/pyproject.toml') }} | ||
|
|
@@ -186,7 +186,7 @@ jobs: | |
|
|
||
| - name: Save tox cache only on main | ||
| if: github.ref == 'refs/heads/main' | ||
| uses: actions/cache/save@v5 | ||
| uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | ||
| with: | ||
| path: .tox/ | ||
| key: ${{ runner.os }}-${{ matrix.python-version }}-tox-v1-${{ hashFiles('**/pyproject.toml') }} | ||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -32,15 +32,15 @@ jobs: | |
| - name: Checkout sources | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| frozen: true | ||
| cache: true | ||
| cache-write: ${{ github.ref == 'refs/heads/main' }} | ||
| environments: rdev | ||
|
|
||
| - uses: Swatinem/rust-cache@v2 | ||
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | ||
| with: | ||
| shared-key: "gha" | ||
| # Don't save cache for cargo check! | ||
|
|
@@ -59,15 +59,15 @@ jobs: | |
| - name: Checkout sources | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| frozen: true | ||
| cache: true | ||
| cache-write: ${{ github.ref == 'refs/heads/main' }} | ||
| environments: rdev | ||
|
|
||
| - uses: Swatinem/rust-cache@v2 | ||
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | ||
| with: | ||
| shared-key: "gha" | ||
| # Don't save cache for cargo fmt or clippy! | ||
|
|
@@ -94,15 +94,15 @@ jobs: | |
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| frozen: true | ||
| cache: true | ||
| cache-write: ${{ github.ref == 'refs/heads/main' }} | ||
| environments: rdev | ||
|
|
||
| - uses: Swatinem/rust-cache@v2 | ||
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | ||
| with: | ||
| shared-key: "gha" | ||
| save-if: ${{ github.ref == 'refs/heads/main' }} | ||
|
|
@@ -127,15 +127,15 @@ jobs: | |
| - name: Checkout sources | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| frozen: true | ||
| cache: true | ||
| cache-write: ${{ github.ref == 'refs/heads/main' }} | ||
| environments: rdev | ||
|
|
||
| - uses: Swatinem/rust-cache@v2 | ||
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | ||
| with: | ||
| shared-key: "gha" | ||
| save-if: false | ||
|
|
@@ -158,15 +158,15 @@ jobs: | |
| - name: Checkout sources | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| frozen: true | ||
| cache: true | ||
| cache-write: ${{ github.ref == 'refs/heads/main' }} | ||
| environments: rdev | ||
|
|
||
| - uses: Swatinem/rust-cache@v2 | ||
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | ||
| with: | ||
| shared-key: "gha" | ||
| save-if: false | ||
|
|
@@ -187,15 +187,15 @@ jobs: | |
| - name: Checkout sources | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| frozen: true | ||
| cache: true | ||
| cache-write: ${{ github.ref == 'refs/heads/main' }} | ||
| environments: rdev | ||
|
|
||
| - uses: Swatinem/rust-cache@v2 | ||
| - uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1 | ||
| with: | ||
| shared-key: "gha" | ||
| save-if: false | ||
|
|
||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -30,7 +30,7 @@ jobs: | |
| fetch-depth: 0 | ||
| fetch-tags: true | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| locked: true | ||
|
|
@@ -44,7 +44,7 @@ jobs: | |
| pixi run -e pdev --locked tests-p | ||
|
|
||
| - name: Upload coverage to Codecov | ||
| uses: codecov/codecov-action@v6 | ||
| uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0 | ||
| with: | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
| files: ./coverage.xml | ||
|
|
||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| name: Release Documentation | ||
|
|
||
| permissions: write-all | ||
| permissions: | ||
| contents: write | ||
|
|
||
| on: | ||
| pull_request: | ||
|
|
@@ -34,7 +35,7 @@ jobs: | |
| fetch-depth: 0 | ||
| fetch-tags: true | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| locked: true | ||
|
|
@@ -45,7 +46,7 @@ jobs: | |
| run: pixi run -e pdoc python-docs # This errors on warnings | ||
|
|
||
| - name: deploy | ||
| uses: peaceiris/[email protected] | ||
| uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 | ||
| if: startsWith(github.ref, 'refs/tags/v') | ||
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ jobs: | |
| fetch-depth: 0 | ||
| fetch-tags: true | ||
|
|
||
| - uses: prefix-dev/[email protected] | ||
| - uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5 | ||
| with: | ||
| pixi-version: v0.62.2 | ||
| locked: true | ||
|
|
@@ -32,4 +32,5 @@ jobs: | |
| run: pixi run -e pbuild build-wheels | ||
|
|
||
| - name: Publish package distributions to PyPI | ||
| uses: pypa/gh-action-pypi-publish@release/v1 | ||
| uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.14.0 | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,9 +1,8 @@ | ||
| .. _cli-docs: | ||
|
|
||
| Command Line Interface (CLI) | ||
| ============================== | ||
| ============================ | ||
|
|
||
| .. toctree:: | ||
|
|
||
| compass | ||
| compass process |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.