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

Migrate testing to Cirrus CI #375

Merged
merged 290 commits into from
Jan 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
d2125e0
add coverage task
vinferrer Dec 24, 2020
0b50bb2
change coverage task name
vinferrer Dec 24, 2020
0fa12ae
cd to the proper coverage folder
vinferrer Dec 24, 2020
d4753da
do not combine
vinferrer Dec 24, 2020
93acdf1
check folder contents
vinferrer Dec 24, 2020
d7890d6
check coverage folder
vinferrer Dec 24, 2020
fbb3bc4
output as xml
vinferrer Dec 24, 2020
2b270ac
put the coverage in the main share folder
vinferrer Dec 24, 2020
5bed67b
add tree command
vinferrer Dec 24, 2020
1fc0243
redirect reporting output
vinferrer Dec 24, 2020
89d3a3f
.coverage is inside phys2bids dir
vinferrer Dec 24, 2020
ce0fc8c
redirect output directly to shared folder
vinferrer Dec 24, 2020
c3af718
add space
vinferrer Dec 24, 2020
6a13578
redirect integration report output directly to shared folder
vinferrer Dec 24, 2020
378efa9
delete term missing
vinferrer Dec 24, 2020
7daee8f
name pytest properly
vinferrer Dec 24, 2020
3f2209e
use makefile
vinferrer Dec 24, 2020
2938b6c
force reupload
vinferrer Dec 24, 2020
468dffd
check coverage files are there
vinferrer Dec 24, 2020
7f500e7
do a html report
vinferrer Dec 24, 2020
8733ed5
now keep as folder
vinferrer Dec 25, 2020
70e3072
all in one line
vinferrer Dec 25, 2020
e3802d1
leave as default
vinferrer Dec 25, 2020
aed7511
use make
vinferrer Dec 25, 2020
70b2929
use abs paths
vinferrer Dec 25, 2020
3281b01
correct path
vinferrer Dec 25, 2020
679c944
do not use the dot so it recognises the folder
vinferrer Dec 25, 2020
323fb46
undo last commit
vinferrer Dec 25, 2020
31fc666
add lintin test
vinferrer Dec 28, 2020
16b6c3e
use absolute path
vinferrer Dec 28, 2020
68c476a
add build documentation test
vinferrer Dec 28, 2020
a81b0ef
rename task
vinferrer Dec 28, 2020
ec3f3cc
rename task
vinferrer Dec 28, 2020
6de5966
rename task
vinferrer Dec 28, 2020
ac30ebe
add bids validator test
vinferrer Dec 28, 2020
dab8076
use sudo and delete unvalid source command
vinferrer Dec 28, 2020
d954bab
install dependencies in each task
vinferrer Dec 28, 2020
8ef5260
use sudo in all commands related to Node.js
vinferrer Dec 28, 2020
d96a037
add unit tests in python 3.6
vinferrer Dec 28, 2020
5a698d7
name –phys2bids_py36 properly when creating it
vinferrer Dec 28, 2020
d388cab
do not use preinstalled enviroment
vinferrer Dec 28, 2020
bc3d03e
use maken37 in bid validate but reuse pip so the call to phys2bids wo…
vinferrer Dec 28, 2020
83f69eb
put pip command and phys2bids command in the same line
vinferrer Dec 28, 2020
4bac94b
change python 3.6 test ID
vinferrer Dec 28, 2020
1e7a141
name share as share2 in python 3.6 tests and add the enviroment cache…
vinferrer Dec 28, 2020
8f5977f
name share as share_36 in python 3.6
vinferrer Dec 28, 2020
814c8ed
add integration test in python 3.6 and coverage folder to share36
vinferrer Dec 28, 2020
3ff9529
add coverage folder to share36
vinferrer Dec 28, 2020
f3e020b
python 3.6 fingerprint ID change
vinferrer Dec 28, 2020
c470213
add path PATH=/home/test_user/.local/bin:/c/Users/sento/bin:/mingw64/…
vinferrer Dec 28, 2020
6836395
add python 3.6 in windows
vinferrer Dec 28, 2020
4d12396
add container line
vinferrer Dec 28, 2020
05bdeba
it's a windows container
vinferrer Dec 28, 2020
3be9fac
change to cirrus default windows container
vinferrer Dec 28, 2020
cba97ad
change paths to windows nomenclature
vinferrer Dec 28, 2020
a2b91de
do the changes in the windows build
vinferrer Dec 28, 2020
27f03e1
use echo instead of set
vinferrer Dec 28, 2020
1dcb343
check default python version in windows container
vinferrer Dec 28, 2020
060a0cc
try to install python
vinferrer Dec 28, 2020
39e3b85
use powershell as default
vinferrer Dec 28, 2020
6d212c9
add the .\
vinferrer Dec 28, 2020
58b50f1
use python nanoserver
vinferrer Dec 28, 2020
383daa1
use invoke web request
vinferrer Dec 28, 2020
cc54d51
check current working dir
vinferrer Dec 28, 2020
5c63f83
change tmp path
vinferrer Dec 28, 2020
baa849d
use $
vinferrer Dec 28, 2020
bccd1cd
use \
vinferrer Dec 28, 2020
64680c2
use relative path
vinferrer Dec 28, 2020
89b90aa
use wget
vinferrer Dec 28, 2020
2c49418
call correct python version
vinferrer Dec 28, 2020
a4e2e47
add execute call
vinferrer Dec 28, 2020
2ba08c0
show wget progress
vinferrer Dec 28, 2020
ce93126
run as admin
vinferrer Dec 28, 2020
9eb3479
don't show progress
vinferrer Dec 28, 2020
83775f5
put download and install command in same place
vinferrer Dec 28, 2020
2d55c23
install with choco
vinferrer Dec 28, 2020
8a92508
use silent install
vinferrer Dec 28, 2020
12f7edd
install pip
vinferrer Dec 28, 2020
64cd3df
call pip3
vinferrer Dec 28, 2020
b45168a
separate pip and python install
vinferrer Dec 28, 2020
ab76372
use python to install pip
vinferrer Dec 28, 2020
70434f9
put all steps in one command
vinferrer Dec 28, 2020
40734a1
use simple &
vinferrer Dec 28, 2020
5877e2c
use |
vinferrer Dec 28, 2020
150aa35
go back to choco pip install
vinferrer Dec 28, 2020
2cdc226
add python to path
vinferrer Dec 28, 2020
e6c5023
add refreshenv
vinferrer Dec 28, 2020
54bfd4d
add refreshenv
vinferrer Dec 28, 2020
f91bd66
echo path
vinferrer Dec 28, 2020
afb5e87
put refresh in same line
vinferrer Dec 28, 2020
1e2a2ee
use Makefile to concat commands
vinferrer Dec 30, 2020
ae2f6a7
add make installation
vinferrer Dec 30, 2020
d45c73a
concat commands with semicolon
vinferrer Dec 30, 2020
ec52e5f
complete bids_validator test
vinferrer Dec 30, 2020
7aa0eb4
add path manually
vinferrer Dec 30, 2020
247ab4b
forgot to add $ to env
vinferrer Dec 30, 2020
5732255
add python/scripts to path since pip is supossed to be there
vinferrer Dec 30, 2020
c082e6a
try integration tests on windows
vinferrer Jan 2, 2021
b227dac
upgrade certificates
vinferrer Jan 2, 2021
7596993
bypass certificate
vinferrer Jan 2, 2021
4166268
install wheel and bypass certificates
vinferrer Jan 2, 2021
40056aa
try to ignore ssl certificate and no download progress
vinferrer Jan 2, 2021
f854b60
try to ignore ssl certificate and no download progress
vinferrer Jan 2, 2021
8678910
add comment and try to fingerprint the enviroment
vinferrer Jan 2, 2021
5352e21
separate enviroment setput from testing
vinferrer Jan 2, 2021
1ac803c
add depends on makeenv windows
vinferrer Jan 2, 2021
8afa39f
eliminate running tests from make env
vinferrer Jan 2, 2021
36f9d8f
correct depens on
vinferrer Jan 2, 2021
aa50f1a
windows test have to be installed from zero
vinferrer Jan 2, 2021
a1a8801
use make in the integration part
vinferrer Jan 2, 2021
113f4ea
add env path to the running tests script
vinferrer Jan 2, 2021
07891ed
separate env from integration
vinferrer Jan 2, 2021
14319bf
build env from ground always in windows tests and add unittest
vinferrer Jan 2, 2021
ef8c347
no progress when downloading
vinferrer Jan 2, 2021
9891e9e
disable ssl only for windows tests
vinferrer Jan 2, 2021
e687560
change the shared folder from share to share36 in unittest 36 task
vinferrer Jan 4, 2021
9ae81c3
try matrix configuration on makeenv
vinferrer Jan 4, 2021
fdd9766
less indentation
vinferrer Jan 4, 2021
c84d4b9
undo matrix configuration
vinferrer Jan 4, 2021
ce0155d
try docker builder
vinferrer Jan 4, 2021
9f98ab6
update enviroment manually
vinferrer Jan 4, 2021
9e98a10
update enviroment manually
vinferrer Jan 4, 2021
028a657
add commas
vinferrer Jan 4, 2021
d7d7322
use single cuotes
vinferrer Jan 4, 2021
7a70c89
use single cuotas
vinferrer Jan 4, 2021
a2a8dd8
use dockerfile in windows tasks
vinferrer Jan 4, 2021
cd2272a
name dockerfile by python version
vinferrer Jan 4, 2021
2bc7bf9
add python 3.7 tests on windows
vinferrer Jan 4, 2021
f4b57a3
add _ to w_python_37 name
vinferrer Jan 4, 2021
64a352d
deleted
vinferrer Jan 4, 2021
9979da2
add unittests in 3.7
vinferrer Jan 4, 2021
e59a04e
correct path to python37
vinferrer Jan 4, 2021
926d7a5
add dockerfile for python 38
vinferrer Jan 4, 2021
85d8eb1
add python 3.8 tests
vinferrer Jan 4, 2021
a02d675
limit cpu to 1
vinferrer Jan 4, 2021
2ad7482
limit cpu to 1 also for windows
vinferrer Jan 4, 2021
5ecc8ee
fusion enviroment generation with matrix
vinferrer Jan 4, 2021
8769173
folder is now the same
vinferrer Jan 4, 2021
a4cd4f4
all builds from linux have the same cache
vinferrer Jan 4, 2021
9b9db18
try matrix on enviroment setup
vinferrer Jan 4, 2021
b6b64e1
correct identation
vinferrer Jan 4, 2021
ef6ce85
return fingerprint script value to original
vinferrer Jan 4, 2021
6ce9665
finishing matrix implementation
vinferrer Jan 4, 2021
a4556cc
return to enviroment in separate tasks
vinferrer Jan 4, 2021
07de3fb
add python 3.8 test for linux
vinferrer Jan 4, 2021
db9393d
add python 3.9 for linux
vinferrer Jan 4, 2021
e4895b9
reference cache to chache setup job
vinferrer Jan 5, 2021
26c31ed
create the shared folder
vinferrer Jan 5, 2021
09f1c93
try common cache folder
vinferrer Jan 5, 2021
cc4ab50
correct identation
vinferrer Jan 5, 2021
2323129
modify dependence
vinferrer Jan 5, 2021
300c5a3
make check dependent on makeenv
vinferrer Jan 5, 2021
de95d70
make check dependent on makeenv
vinferrer Jan 5, 2021
089aa11
modify matrix configuration so it separates enviroment
vinferrer Jan 5, 2021
8d88ec3
correct identation
vinferrer Jan 5, 2021
b5f7e08
try another matrix configuration
vinferrer Jan 5, 2021
1f830fb
only one cache folder can be used
vinferrer Jan 5, 2021
77af74c
try to use pip without sourcing
vinferrer Jan 5, 2021
8a5a982
correct identation
vinferrer Jan 5, 2021
5982a89
try bin folder
vinferrer Jan 5, 2021
4cd8eb2
try to do in parallel
vinferrer Jan 5, 2021
55e79ee
use cpu option properly
vinferrer Jan 5, 2021
7ecd0d4
separate conda commands
vinferrer Jan 5, 2021
9b7c825
forget about fusioning all envs into one task
vinferrer Jan 5, 2021
9d9200f
use artifact option
vinferrer Jan 5, 2021
66e68ba
tar archive and install curl
vinferrer Jan 5, 2021
3ed516c
untar archive and tree
vinferrer Jan 5, 2021
261dccc
check directory after download
vinferrer Jan 5, 2021
e40e34e
try xml version
vinferrer Jan 5, 2021
0946ea1
change names
vinferrer Jan 5, 2021
99bb84a
rewrite pytest command
vinferrer Jan 5, 2021
2227bf8
use relative path for artifact
vinferrer Jan 5, 2021
770a433
use wget instead
vinferrer Jan 5, 2021
1197e12
use whole artifact name to download
vinferrer Jan 5, 2021
a9430a0
try unittest with matrix configuration
vinferrer Jan 5, 2021
e9b9399
correct identation
vinferrer Jan 5, 2021
6d4f5f5
correct depend
vinferrer Jan 5, 2021
53886bc
correct depend
vinferrer Jan 5, 2021
1d4bc6d
try integration tests with matrix configuration
vinferrer Jan 5, 2021
6379564
name task properly
vinferrer Jan 5, 2021
dfcd87e
correct conda activate
vinferrer Jan 5, 2021
f8ef6fd
correct path
vinferrer Jan 5, 2021
7950869
correct path
vinferrer Jan 5, 2021
f80a40f
rename coverage.xml
vinferrer Jan 5, 2021
921489a
add codecove token
vinferrer Jan 5, 2021
553e9de
add codecove token
vinferrer Jan 5, 2021
f079670
add codecove token
vinferrer Jan 5, 2021
0923118
only cirrus tests
vinferrer Jan 5, 2021
09094e5
pip curl codecove/bash to bash
vinferrer Jan 6, 2021
0cdc03e
add dummy circle ci config
vinferrer Jan 6, 2021
76eb77a
add workflow
vinferrer Jan 6, 2021
e133c8f
create .coverage files instead of reports
vinferrer Jan 6, 2021
81e2a7c
add curl to integration tests
vinferrer Jan 6, 2021
dc3db15
add lintin test
vinferrer Jan 6, 2021
1224322
add build docs and bids validator
vinferrer Jan 6, 2021
bd6e47e
add windows tests and correct source
vinferrer Jan 6, 2021
04d33fd
no default container
vinferrer Jan 6, 2021
e583b0e
add memory limit
vinferrer Jan 6, 2021
92707f5
rename unittest task
vinferrer Jan 6, 2021
cabfb41
make python:39 default image
vinferrer Jan 6, 2021
d6e3ef6
make python:39 default image
vinferrer Jan 6, 2021
7105b70
make python:39 default image
vinferrer Jan 6, 2021
b2e3167
leave only the 1 cpu limit
vinferrer Jan 6, 2021
5afc78c
leave only the 1 cpu limit
vinferrer Jan 6, 2021
f7fb495
leave image as continum miniconda
vinferrer Jan 6, 2021
6407e06
memory limit
vinferrer Jan 6, 2021
2eef403
no memory limit
vinferrer Jan 6, 2021
b20f774
do not use sudo
vinferrer Jan 6, 2021
e021c9b
add make to build docs task
vinferrer Jan 6, 2021
52838d5
add python 3.6 test in windows
vinferrer Jan 6, 2021
7be9f8e
add dockerfile
vinferrer Jan 6, 2021
06566ec
new path
vinferrer Jan 6, 2021
bdfdfc5
remove circleci folder
vinferrer Jan 8, 2021
de92659
add cirrus badge
vinferrer Jan 17, 2021
b81ba91
delete azure and circle CI badges and retry new badge
vinferrer Jan 17, 2021
45eb123
try badge in my branch
vinferrer Jan 17, 2021
e09ebd6
return badge to the main branch
vinferrer Jan 17, 2021
395d4ba
patch matplotlib in windows
vinferrer Jan 17, 2021
10299c6
patch in the populate script
vinferrer Jan 17, 2021
85140db
try to avoid ssl error
vinferrer Jan 17, 2021
11a8bec
upgrade pip
vinferrer Jan 17, 2021
87b866e
upgrade pip
vinferrer Jan 17, 2021
ebf4e72
use config command
vinferrer Jan 17, 2021
ba73993
upgrade pip
vinferrer Jan 17, 2021
e9bf036
upgrade pip with proper option
vinferrer Jan 17, 2021
1133f15
try to upgrade pip in the build
vinferrer Jan 17, 2021
7cb1182
try to upgrade pip in the build
vinferrer Jan 17, 2021
3eeb52c
Install latest minor version
vinferrer Jan 18, 2021
434e240
update setuptools in the docker build
vinferrer Jan 18, 2021
6e08f1c
add ne trusted server
vinferrer Jan 18, 2021
2d78ecd
disable ssl globally
vinferrer Jan 18, 2021
cf3efc0
install microsoft visual cpp tools
vinferrer Jan 18, 2021
a1ec00e
ADD QUIET MODE
vinferrer Jan 18, 2021
e3ff1d5
install microsoft visual cpp tools for the other python versions
vinferrer Jan 18, 2021
e23a8da
modify Makefile so pip install is done in unittest also
vinferrer Jan 18, 2021
0a448cd
add pip certify in the job
vinferrer Jan 19, 2021
124bc84
use pip3
vinferrer Jan 19, 2021
bcf2c26
restore to normal pip
vinferrer Jan 19, 2021
ed6c0b4
try installing certificates manually
vinferrer Jan 19, 2021
83a2735
add pip reinstall to the job
vinferrer Jan 19, 2021
c6aa2c2
add open-ssl to path
vinferrer Jan 19, 2021
8e3ce4d
add ; to separate commands
vinferrer Jan 19, 2021
d79b102
do the certificates reinstall in the task
vinferrer Jan 19, 2021
7dddef9
forget about the certificates
vinferrer Jan 19, 2021
f0b7415
try lower version of setuptools
vinferrer Jan 19, 2021
ee2f10a
try new config
vinferrer Jan 19, 2021
a4f92ad
new setuptools version in docker file
vinferrer Jan 19, 2021
e34ede6
use python 3.6.9 instead of python 3.6.0
vinferrer Jan 19, 2021
0972cc4
trigger build
vinferrer Jan 19, 2021
5452d9e
use python 3.6.8 instead of python 3.6.0
vinferrer Jan 19, 2021
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
16 changes: 16 additions & 0 deletions .ci/w_python_36
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM cirrusci/windowsservercore:2019

RUN powershell -NoLogo -NoProfile -Command \
choco install -y --no-progress microsoft-visual-cpp-build-tools wget openssl ; \
choco install -y --no-progress python --version=3.6.8 ; \
choco install -y --no-progress make ; \
refreshenv ; \
$env:Path += ';c:\python36'; \
$env:Path += ';c:\python36\Scripts'; \
$env:Path += ';c:\Program Files\OpenSSL-Win64\bin'; \
refreshenv; \
echo $env:path; \
python -m pip install --upgrade pip ; \
pip install --upgrade certifi ; \
pip install wheel ; \
pip install setuptools==30.3.0
14 changes: 14 additions & 0 deletions .ci/w_python_37
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM cirrusci/windowsservercore:2019

RUN powershell -NoLogo -NoProfile -Command \
choco install -y microsoft-visual-cpp-build-tools ; \
choco install -y --no-progress python --version=3.7 ; \
choco install -y --no-progress make ; \
refreshenv ; \
$env:Path += ';c:\python37'; \
$env:Path += ';c:\python37\Scripts'; \
refreshenv; \
echo $env:path; \
pip install --upgrade certifi ; \
pip install wheel ; \
python -m pip install --upgrade pip
14 changes: 14 additions & 0 deletions .ci/w_python_38
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM cirrusci/windowsservercore:2019

RUN powershell -NoLogo -NoProfile -Command \
choco install -y microsoft-visual-cpp-build-tools ; \
choco install -y --no-progress python --version=3.8 ; \
choco install -y --no-progress make ; \
refreshenv ; \
$env:Path += ';c:\python38'; \
$env:Path += ';c:\python38\Scripts'; \
refreshenv; \
echo $env:path; \
pip install --upgrade certifi ; \
pip install wheel ; \
python -m pip install --upgrade pip
14 changes: 14 additions & 0 deletions .ci/w_python_39
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM cirrusci/windowsservercore:2019

RUN powershell -NoLogo -NoProfile -Command \
choco install -y microsoft-visual-cpp-build-tools ; \
choco install -y --no-progress python --version=3.9 ; \
choco install -y --no-progress make ; \
refreshenv ; \
$env:Path += ';c:\python39'; \
$env:Path += ';c:\python39\Scripts'; \
refreshenv; \
echo $env:path; \
pip install --upgrade certifi ; \
pip install wheel ; \
python -m pip install --upgrade pip
1 change: 0 additions & 1 deletion .circleci/artifact_path

This file was deleted.

313 changes: 0 additions & 313 deletions .circleci/config.yml

This file was deleted.

Loading