-
Notifications
You must be signed in to change notification settings - Fork 2
Install dependencies via pixi and run the tests #7
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
Open
NimaSarajpoor
wants to merge
29
commits into
stumpy-dev:main
Choose a base branch
from
NimaSarajpoor:stumpy_actions_with_pixi
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
10ca2f8
Add yml file to test STUMPY via pixi
NimaSarajpoor c2d1c36
minor change
NimaSarajpoor 3e2f21f
minor change
NimaSarajpoor 2f109e4
Merge pull request #1 from NimaSarajpoor/stumpy_actions_with_pixi
NimaSarajpoor b0713aa
fix name
NimaSarajpoor 2128a47
Merge pull request #2 from NimaSarajpoor/stumpy_actions_with_pixi
NimaSarajpoor 57b5c9f
add my own secret and enable environment in Github Actions
NimaSarajpoor 053e2f3
Merge pull request #3 from NimaSarajpoor/stumpy_actions_with_pixi
NimaSarajpoor 7e59319
add log level
NimaSarajpoor bfd6d64
Merge pull request #4 from NimaSarajpoor/stumpy_actions_with_pixi
NimaSarajpoor e6f4380
add check token
NimaSarajpoor 24b50a7
Merge pull request #5 from NimaSarajpoor/stumpy_actions_with_pixi
NimaSarajpoor 5b3907b
attemp2 in token authentication
NimaSarajpoor e7d50b0
Merge pull request #6 from NimaSarajpoor/stumpy_actions_with_pixi
NimaSarajpoor 6ed5a40
set cache to false
NimaSarajpoor db37d29
Merge pull request #7 from NimaSarajpoor/stumpy_actions_with_pixi
NimaSarajpoor 0976d65
keep core stuff
NimaSarajpoor f201647
Merge pull request #8 from NimaSarajpoor/stumpy_actions_with_pixi
NimaSarajpoor f869860
reverted some of the changes
NimaSarajpoor 97304ea
minor change
NimaSarajpoor 412afe3
Merge branch 'main' into stumpy_actions_with_pixi
NimaSarajpoor a8eed98
Merge pull request #9 from NimaSarajpoor/stumpy_actions_with_pixi
NimaSarajpoor 2c56e04
Removed check token
NimaSarajpoor b0c848d
minor change
NimaSarajpoor 37ab60e
Merge pull request #10 from NimaSarajpoor/stumpy_actions_with_pixi
NimaSarajpoor 0b62779
potential fix for missing env
NimaSarajpoor e0845b6
Merge pull request #11 from NimaSarajpoor/stumpy_actions_with_pixi
NimaSarajpoor ef4c2a0
use pixi to run commands
NimaSarajpoor 6e6cdd9
explicit bash command
NimaSarajpoor 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 |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| name: Run STUMPY Tests with Pixi | ||
| on: | ||
| workflow_dispatch: | ||
| jobs: | ||
| test_with_pixi: | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| matrix: | ||
| os: [ubuntu-latest, macos-latest, windows-latest] | ||
| environment: PIXI_API_ACCESS | ||
|
|
||
| steps: | ||
| - name: Checkout STUMPY | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: stumpy-dev/stumpy | ||
|
|
||
| - name: Set Up Pixi | ||
| uses: prefix-dev/setup-pixi@v0.9.4 | ||
|
Contributor
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. Do we need to be so specific about the version? Is there a way to simply use the latest version for both the setup as well as the pixi-version? |
||
| with: | ||
| log-level: vvv | ||
| pixi-version: v0.62.2 | ||
|
|
||
| cache: false | ||
| auth-host: prefix.dev | ||
| auth-token: ${{ secrets.PREFIX_DEV_TOKEN }} | ||
|
|
||
| - name: Install STUMPY And Other Dependencies with Pixi | ||
| run: pixi install | ||
| shell: bash | ||
|
|
||
| - name: Show Full Numba Environment | ||
| run: pixi run numba -s | ||
| shell: bash | ||
|
|
||
| - name: Unit Tests | ||
| run: pixi run bash ./test.sh | ||
| shell: bash | ||
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.
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.
Add support for different versions of python. To get range of python versions, see:
https://github.com/NimaSarajpoor/automate/blob/b0ffdda538652711f7c6d586a49f2277554440da/.github/workflows/check-pypi-wheels-actions.yml#L20-L25
Uh oh!
There was an error while loading. Please reload this page.
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.
I would just leave it as "latest" Python instead of looking at a range. We'll run a test every day but, realistically, using
pixiis only for developers.It looks like this is to check
pixionly (based on the workflow name). I thinkpixi-actions.ymlas a workflow name is fine. Will you be creating a separate workflow forfftwlater? I hope so :)