-
Notifications
You must be signed in to change notification settings - Fork 266
Add new github actions. #1093
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
Add new github actions. #1093
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
39da957
Add new github actions.
samuelgarcia 8b18cc4
wip GH action for core
samuelgarcia e5b524c
fail-fast: true
samuelgarcia 07337cb
oups
samuelgarcia fd61f15
oups
samuelgarcia f1b7b8b
fail-fast: true
samuelgarcia 01e3042
rm travis
samuelgarcia 845e057
pytest-cov
samuelgarcia 222f776
exclude some versions
samuelgarcia 9ba13af
oups
samuelgarcia ceefc7a
oups
samuelgarcia 9071119
some clean
samuelgarcia eb05d1e
Try to chain workflow core > io/rawio using workflow_run
samuelgarcia 045575e
try again to chain workflows
samuelgarcia 3240af0
more try
samuelgarcia 08bdd43
No succes in chaining workflows. Go back.
samuelgarcia 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,51 @@ | ||
| name: NeoCoreTest | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [master] | ||
| types: [synchronize, opened, reopened, ready_for_review] | ||
|
|
||
| # run checks on any change of master, including merge of PRs | ||
| push: | ||
| branches: [master] | ||
|
|
||
|
|
||
|
|
||
| jobs: | ||
| multi-os-python-numpy: | ||
| runs-on: ${{ matrix.os }} | ||
|
|
||
| strategy: | ||
| fail-fast: true | ||
| matrix: | ||
| os: ["ubuntu-latest", "macos-latest", "windows-latest"] | ||
| python-version: ['3.7', '3.8', '3.9'] | ||
| numpy-version: ['1.16.6', '1.19.5', '1.20.3', '1.21.5', '1.22.3'] | ||
| exclude: | ||
| - python-version: '3.7' | ||
| numpy-version: '1.22.3' | ||
|
|
||
| steps: | ||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: actions/setup-python@v2 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
|
|
||
| - name: Checkout repository | ||
| uses: actions/checkout@v2 | ||
|
|
||
| - name: Install numpy ${{ matrix.numpy-version }} | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install numpy==${{ matrix.numpy-version }} | ||
| pip install pytest pytest-cov | ||
| pip install . | ||
|
|
||
| - name: List pip packages | ||
| run: | | ||
| pip -V | ||
| pip list | ||
|
|
||
| - name: Run tests | ||
| run: | | ||
| pytest --cov=neo neo/test/coretest | ||
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 was deleted.
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.