Skip to content
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

[WIP] Move to GH Actions #4592

Merged
merged 82 commits into from
Nov 3, 2020
Merged
Changes from 1 commit
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
5930906
initial for testing
kcpevey Sep 3, 2020
c47bc2d
syntax fix [ci skip]
kcpevey Sep 3, 2020
c6abf97
syntax fix [ci skip]
kcpevey Sep 3, 2020
c6f4c38
syntax fix [ci skip]
kcpevey Sep 3, 2020
36c2fd7
syntax fix [ci skip]
kcpevey Sep 3, 2020
ed58069
install pip wheel [ci skip]
kcpevey Sep 3, 2020
a10d31d
add print statements [ci skip]
kcpevey Sep 3, 2020
ac802f7
add pip update [ci skip]
kcpevey Sep 3, 2020
0ff9830
add python [ci skip]
kcpevey Sep 3, 2020
d83ea8b
syntax [ci skip]
kcpevey Sep 3, 2020
9ada518
death by a thousand mistakes [ci skip]
kcpevey Sep 3, 2020
c6316f6
cleanup [ci skip]
kcpevey Sep 3, 2020
911bf60
trial and error debug [ci skip]
kcpevey Sep 3, 2020
576e0df
rm hash -r [ci skip]
kcpevey Sep 3, 2020
c2ca1d2
rm the rm of doit [ci skip]
kcpevey Sep 3, 2020
58ee943
use conda activate [ci skip]
kcpevey Sep 3, 2020
e298fdf
fix conda activate [ci skip]
kcpevey Sep 3, 2020
b3a87b9
add flake8 [ci skip]
kcpevey Sep 3, 2020
12d7849
test individually[ci skip]
kcpevey Sep 4, 2020
476c65d
flake fixes [ci skip]
kcpevey Sep 4, 2020
e714afa
add nose [ci skip]
kcpevey Sep 4, 2020
626fbaa
add hash -r[ci skip]
kcpevey Sep 4, 2020
26e17c1
syntax around env vars [ci skip]
kcpevey Sep 4, 2020
46d3f03
reactivate env [ci skip]
kcpevey Sep 4, 2020
729c17a
run in together [ci skip]
kcpevey Sep 4, 2020
3c24317
stupid yml syntax [ci skip]
kcpevey Sep 4, 2020
5a39007
Merge branch 'master' into add_gh_actions
kcpevey Sep 18, 2020
2f524a6
break doit steps up into gh action steps
kcpevey Sep 18, 2020
08a7101
point to different conda location [ci skip]
kcpevey Sep 18, 2020
27c376d
activate env in each step [ci skip]
kcpevey Sep 18, 2020
316fb9e
append path syntax [ci skip]
kcpevey Sep 18, 2020
6f09377
set global shell [ci skip]
kcpevey Sep 18, 2020
2029ca1
set shell on individual steps [ci skip]
kcpevey Sep 18, 2020
e6d583c
conda init [ci skip]
kcpevey Sep 18, 2020
d9c43d4
conda activate [ci skip]
kcpevey Sep 18, 2020
8b3e675
hook conda commands [ci skip]
kcpevey Sep 18, 2020
ed98584
source bashrc
kcpevey Sep 30, 2020
01b8e7c
add source to second step
kcpevey Sep 30, 2020
da6e46c
Adapt CI to run conda activate [ci skip]
kcpevey Oct 7, 2020
f7e91d7
Merge branch 'master' into add_gh_actions
kcpevey Oct 7, 2020
8d3049d
remove push to branch runs
kcpevey Oct 7, 2020
9af5001
job env vars are workflow vars, not bash vars
kcpevey Oct 14, 2020
17fd40b
test all recommended
kcpevey Oct 14, 2020
2bcb409
fetch depth [ci skip]
kcpevey Oct 16, 2020
d9dd6b9
Merge branch 'master' into add_gh_actions
kcpevey Oct 19, 2020
4158c39
move to coveralls action [ci skip]
kcpevey Oct 19, 2020
68e0ddc
run coveralls [ci skip]
kcpevey Oct 21, 2020
c1455ba
run coveralls [ci skip]
kcpevey Oct 21, 2020
82ee6d1
move github token to indiv step [ci skip]
kcpevey Oct 21, 2020
8d5f351
move github token to indiv step [ci skip]
kcpevey Oct 22, 2020
451b2ea
Merge branch 'master' into add_gh_actions
kcpevey Oct 26, 2020
41c26c7
fix matplotlib version in test, open up platforms and py versions
kcpevey Oct 30, 2020
745f458
commas are important
kcpevey Oct 30, 2020
92a3f78
github token fix [ci skip]
kcpevey Oct 30, 2020
e7a8d1d
github token revert [ci skip]
kcpevey Oct 30, 2020
f7bb80d
test regex for python version
kcpevey Oct 30, 2020
1c0b6e3
Drop 3.8 build for now
philippjfr Nov 2, 2020
c6e4176
Drop superfluous coveralls action
philippjfr Nov 2, 2020
deb8b61
Remove unused PKG TEST env var
philippjfr Nov 2, 2020
222913f
Enable 2.7 build
philippjfr Nov 2, 2020
8e81980
Fix condition
philippjfr Nov 2, 2020
8ffcc54
Try to fix condition
philippjfr Nov 2, 2020
33fca79
Another attempt
philippjfr Nov 2, 2020
f2d8a8e
Add coveralls token
philippjfr Nov 2, 2020
41a780d
Try to fix coveralls
philippjfr Nov 2, 2020
ba2b8b8
Only run example tests once
philippjfr Nov 2, 2020
a0b3449
Skip coveralls on py2.7
philippjfr Nov 2, 2020
bd80166
Add windows and mac to matrix
philippjfr Nov 2, 2020
5601dd1
Attempt to fix windows and OSX builds
philippjfr Nov 2, 2020
5eedd40
Remove miniconda-install
philippjfr Nov 2, 2020
20fd4e1
Remove --user
philippjfr Nov 2, 2020
2d25d6d
Use setup-miniconda action
philippjfr Nov 2, 2020
0e847b7
Reorder steps
philippjfr Nov 2, 2020
9dfbeee
Print matplotlib version
philippjfr Nov 2, 2020
24437a9
Use setup-miniconda v2
philippjfr Nov 2, 2020
3c40718
Install matplotlib from main channel
philippjfr Nov 2, 2020
822eaaf
Switch back to setup-minicona v1
philippjfr Nov 2, 2020
2dedb92
Remove tests from .travis.yml and appveyor
philippjfr Nov 2, 2020
b1e95f8
Attempt to fix matplotlib patch
philippjfr Nov 2, 2020
60bdc75
Readd env vars
philippjfr Nov 2, 2020
e303cf3
Readd flake check to .travis
philippjfr Nov 2, 2020
992c6af
Exclude windows/py2.7
philippjfr Nov 2, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add hash -r[ci skip]
  • Loading branch information
kcpevey committed Sep 4, 2020
commit 626fbaaa04ac1959b7e61deba1ac11e9dbbe1e8b
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ jobs:
doit miniconda_install
- name: conda setup
run: |
export PATH="$HOME/miniconda/bin:$PATH"
export PATH="$HOME/miniconda/bin:$PATH" && hash -r
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order for this to transfer to the next steps (test_examples, coverall) you should add a

##vso[task.prependpath]($HOME)/miniconda3/bin

like in this stackoverflow answer

You might be interested in using this action which is supposed to set this all up for you, and works across different OSes

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mattip!

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It turns out there are a few options on github actions for conda, here is another one that uses mini-conda instead of conda

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which is mentioned in the comments above too.

conda config --set always_yes True
conda install -c pyviz "pyctdev>=0.5"
echo "second doit use"