This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 2
Test activate on windows #6
Draft
jtpio
wants to merge
19
commits into
master
Choose a base branch
from
windows
base: master
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.
Draft
Changes from 15 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
ec9225c
Test activate on windows
jtpio ebf4c51
Use full path to activate.bat
jtpio f9e9f75
Run conda list, install xtensor
jtpio 1117465
Call activate.bat with powershell
jtpio 99f208d
add more stuff to path
wolfv a15e939
Merge branch 'windows' of github.com:TheSnakePit/setup-mamba into win…
wolfv ca635c0
..
wolfv c478ff1
..
wolfv 664dbae
npm run all in test job
jtpio 7259738
..
wolfv d4f7489
Merge branch 'windows' of github.com:TheSnakePit/setup-mamba into win…
wolfv ef3e89e
..
wolfv 6630e6b
..
wolfv 0db1aae
..
wolfv b5b0f06
..
wolfv 2548a99
Update .github/workflows/test.yml
jtpio b6beebd
Update .github/workflows/test.yml
wolfv 7d009d6
Update .github/workflows/test.yml
wolfv 53cd7d1
Update test.yml
wolfv 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 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,14 +21,25 @@ jobs: | |||||||||||
strategy: | ||||||||||||
fail-fast: false | ||||||||||||
matrix: | ||||||||||||
os: [ubuntu-latest, macos-latest] | ||||||||||||
os: [windows-latest] | ||||||||||||
|
||||||||||||
steps: | ||||||||||||
- uses: actions/checkout@v2 | ||||||||||||
- run: | | ||||||||||||
npm install | ||||||||||||
npm run all | ||||||||||||
- uses: ./ | ||||||||||||
- name: Run conda list | ||||||||||||
run: conda list | ||||||||||||
- name: init pwsh | ||||||||||||
run: conda init powershell | ||||||||||||
jtpio marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||
- name: Install Python | ||||||||||||
run: mamba install -y -c conda-forge python | ||||||||||||
# shell: cmd | ||||||||||||
wolfv marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||
# run: echo "%PATH%" && CALL activate.bat base && conda info && echo "%PATH%" | ||||||||||||
run: conda activate base && echo "$env:path" | ||||||||||||
wolfv marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||
- name: Install stuff | ||||||||||||
run: conda activate base && mamba install -y -c conda-forge xtensor | ||||||||||||
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.
Suggested change
|
||||||||||||
- name: Install Notebook and widgets | ||||||||||||
run: mamba install -y -c notebook ipywidgets | ||||||||||||
run: mamba install -y -c conda-forge notebook ipywidgets | ||||||||||||
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.
Suggested change
|
||||||||||||
- name: List the packages | ||||||||||||
run: mamba list | ||||||||||||
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.
Suggested change
|
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
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.
I think
conda init powershell
only initialises the old powershell (v5) and not he newpwsh
. Worth a try at least.See also: #4 (comment)