From 240895668ed6e46232103b8993f945b2f2ea7b08 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 21:18:38 +0300 Subject: [PATCH 01/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 73adf0ca..f885a38c 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -32,7 +32,7 @@ jobs: conda create -q -n testenv root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv - - name: build ostap + - name: Build run: | mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && make -j12 && make install && cd ../ - name: Test with pytest From c6ac1203626579a2cced1d3da392ecdfbd0da6eb Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 21:24:59 +0300 Subject: [PATCH 02/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index f885a38c..586f4e1d 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -22,7 +22,7 @@ jobs: python-version: 3.8 - name: Install dependencies run: | - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh + if [ "${TRAVIS_OS_NAME}" == "linux" ]; then wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi bash miniconda.sh -b -p $HOME/miniconda export PATH="$HOME/miniconda/bin:$PATH" @@ -32,13 +32,4 @@ jobs: conda create -q -n testenv root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv - - name: Build - run: | - mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && make -j12 && make install && cd ../ - - name: Test with pytest - run: | - pip install coverage coveralls - source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap - time coveralls - From d93798c49e1bbd611c37da63a443176acc486db3 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 21:27:30 +0300 Subject: [PATCH 03/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 586f4e1d..3662a8e0 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -32,4 +32,3 @@ jobs: conda create -q -n testenv root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv - From 066a41e82f81b6ac157577593a4e08be6096cce3 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 21:28:43 +0300 Subject: [PATCH 04/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 3662a8e0..da35c228 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -22,13 +22,5 @@ jobs: python-version: 3.8 - name: Install dependencies run: | - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh - -O miniconda.sh; fi - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes yes --set changeps1 no - conda config --add channels conda-forge - conda create -q -n testenv root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake - export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv - source activate testenv + pip install --upgrade pip pipenv + From 7c63ea0372fdf07e0369eec94499047730fbb1ae Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 21:31:31 +0300 Subject: [PATCH 05/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index da35c228..eb38894b 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -22,5 +22,5 @@ jobs: python-version: 3.8 - name: Install dependencies run: | - pip install --upgrade pip pipenv + if [ "${TRAVIS_OS_NAME}" == "linux" ]; then wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi From 8f4a930c232f501e74c00a95b55bc703ffb2f646 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 21:33:55 +0300 Subject: [PATCH 06/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index eb38894b..31e2b4e9 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -23,4 +23,13 @@ jobs: - name: Install dependencies run: | if [ "${TRAVIS_OS_NAME}" == "linux" ]; then wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi + bash miniconda.sh -b -p $HOME/miniconda + export PATH="$HOME/miniconda/bin:$PATH" + hash -r + conda config --set always_yes yes --set changeps1 no + conda config --add channels conda-forge + conda create -q -n testenv root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake + export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv + source activate testenv + From b6c70eee582d45b83a67ff43d123a442138ed4f9 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 21:35:40 +0300 Subject: [PATCH 07/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 31e2b4e9..dc0012a6 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -31,5 +31,12 @@ jobs: conda create -q -n testenv root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv - + - name: Build ostap + run: | + mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && make -j12 && make install && cd ../ + - name: test + run: | + pip install coverage coveralls + source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap + time coveralls From 621226cae03d927d31ceaf4972aa3d98454d417a Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 21:37:11 +0300 Subject: [PATCH 08/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index dc0012a6..6e495dbb 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -22,7 +22,7 @@ jobs: python-version: 3.8 - name: Install dependencies run: | - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi + wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh bash miniconda.sh -b -p $HOME/miniconda export PATH="$HOME/miniconda/bin:$PATH" hash -r From 3431de40a24af49ebc5cd05222ebc580c8713690 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 21:41:24 +0300 Subject: [PATCH 09/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 6e495dbb..60ce1447 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -30,9 +30,9 @@ jobs: conda config --add channels conda-forge conda create -q -n testenv root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv - source activate testenv - name: Build ostap run: | + source activate testenv mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && make -j12 && make install && cd ../ - name: test run: | From 18a6187441faf2408b69773ef99cbb1d6f80e424 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 21:46:09 +0300 Subject: [PATCH 10/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 60ce1447..49283bed 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -29,13 +29,15 @@ jobs: conda config --set always_yes yes --set changeps1 no conda config --add channels conda-forge conda create -q -n testenv root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake - export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv - name: Build ostap run: | + export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && make -j12 && make install && cd ../ - name: test run: | + export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv + source activate testenv pip install coverage coveralls source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap time coveralls From e2386c25e76c58e8ae70f512adb4288efa1d4432 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 21:52:19 +0300 Subject: [PATCH 11/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 49283bed..5c48a44a 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -29,16 +29,8 @@ jobs: conda config --set always_yes yes --set changeps1 no conda config --add channels conda-forge conda create -q -n testenv root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake - - name: Build ostap - run: | export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && make -j12 && make install && cd ../ - - name: test - run: | - export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv - source activate testenv - pip install coverage coveralls - source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap - time coveralls + From be4b4116879681c9f9d804d3469c6cb38f841cc4 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 22:13:32 +0300 Subject: [PATCH 12/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 5c48a44a..fdbd577b 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -29,8 +29,11 @@ jobs: conda config --set always_yes yes --set changeps1 no conda config --add channels conda-forge conda create -q -n testenv root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake + - name: Build + run: | + export PATH="$HOME/miniconda/bin:$PATH" export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && make -j12 && make install && cd ../ - + From 88087eccf486c87e25ad37d9278fdd17b8c95093 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 22:25:14 +0300 Subject: [PATCH 13/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index fdbd577b..aecc2e4a 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -13,13 +13,15 @@ jobs: build: runs-on: ubuntu-latest - + strategy: + matrix: + python-version: [3.7] steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: ${{ matrix.python-version }} - name: Install dependencies run: | wget -nv http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh @@ -35,5 +37,11 @@ jobs: export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && make -j12 && make install && cd ../ - + - name: Test + run: | + export PATH="$HOME/miniconda/bin:$PATH" + export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv + source activate testenv + source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap + time coveralls From a6dcf02b5dbec19c19811be8a4111b00e969770a Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 22:32:45 +0300 Subject: [PATCH 14/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index aecc2e4a..756e00ad 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -30,7 +30,7 @@ jobs: hash -r conda config --set always_yes yes --set changeps1 no conda config --add channels conda-forge - conda create -q -n testenv root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake + conda create -q -n testenv nose root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake - name: Build run: | export PATH="$HOME/miniconda/bin:$PATH" From b8d2aa7126fc5cf8f04f8735643abe0c60fedfee Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 22:40:42 +0300 Subject: [PATCH 15/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 756e00ad..9687b1ba 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7] + python-version: [2.7] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} From a3bcb8241c7d226a5c8393df166746165d7e3238 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 22:48:36 +0300 Subject: [PATCH 16/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 9687b1ba..66cd5c74 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -30,7 +30,7 @@ jobs: hash -r conda config --set always_yes yes --set changeps1 no conda config --add channels conda-forge - conda create -q -n testenv nose root_base root-binaries root-dependencies gsl future configparser numpy scipy pathos dill multiprocess ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake + conda create -q -n testenv nose root_base root-binaries root-dependencies gsl future configparser numpy scipy ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake - name: Build run: | export PATH="$HOME/miniconda/bin:$PATH" From 1fd4fb88bdac6b17b40d41a7bad7787fae972d3d Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 23:07:18 +0300 Subject: [PATCH 17/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 66cd5c74..ad42a1f3 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -30,7 +30,7 @@ jobs: hash -r conda config --set always_yes yes --set changeps1 no conda config --add channels conda-forge - conda create -q -n testenv nose root_base root-binaries root-dependencies gsl future configparser numpy scipy ppft terminaltables binutils-meta c-compiler compilers cxx-compiler fortran-compiler python ipython cmake + conda create -q -n testenv nose root_base root-binaries root-dependencies gsl python future configparser nose cmake - name: Build run: | export PATH="$HOME/miniconda/bin:$PATH" From 9ee9d4c22559889981ca5617588f2ce35369c196 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 23:16:15 +0300 Subject: [PATCH 18/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index ad42a1f3..c28123ae 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -39,6 +39,7 @@ jobs: mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && make -j12 && make install && cd ../ - name: Test run: | + pip install coverage coveralls export PATH="$HOME/miniconda/bin:$PATH" export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv From a80118176bdb4bccc0d80a8aa99b96a2badfb778 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 28 Mar 2020 23:36:59 +0300 Subject: [PATCH 19/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index c28123ae..eb3b55cb 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -44,5 +44,7 @@ jobs: export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap - time coveralls - + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} From 08dcea3c1c8ca7b0e83a17219ab456b6a5f8a106 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sun, 29 Mar 2020 00:00:06 +0300 Subject: [PATCH 20/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index eb3b55cb..4efa7e4c 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -11,6 +11,9 @@ on: jobs: build: + env: + COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}" + COVERALLS_GIT_BRANCH: "${{ github.ref }}" runs-on: ubuntu-latest strategy: From 2a37106e72157802c017687c5e40cdede5e69d6e Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sun, 29 Mar 2020 00:01:37 +0300 Subject: [PATCH 21/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 4efa7e4c..cf0a61e4 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -47,7 +47,4 @@ jobs: export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap - - name: Coveralls - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} + time coveralls From 7c391523ae45167a7e6646e944f843860c899758 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sun, 29 Mar 2020 12:39:44 +0300 Subject: [PATCH 22/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index cf0a61e4..7f57df5b 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -12,8 +12,8 @@ on: jobs: build: env: - COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}" - COVERALLS_GIT_BRANCH: "${{ github.ref }}" + MIX_ENV: test + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} runs-on: ubuntu-latest strategy: @@ -47,4 +47,4 @@ jobs: export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap - time coveralls + mix coveralls.github From bc8a4885906c57cea0875d612d409fe65a9eb303 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sun, 29 Mar 2020 13:49:30 +0300 Subject: [PATCH 23/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 7f57df5b..ecdb8521 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -12,7 +12,6 @@ on: jobs: build: env: - MIX_ENV: test GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} runs-on: ubuntu-latest @@ -47,4 +46,4 @@ jobs: export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap - mix coveralls.github + coveralls.github From c134d727362aa0e53e7151d9829ba2a6cc062398 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sun, 29 Mar 2020 16:24:33 +0300 Subject: [PATCH 24/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index ecdb8521..e7ab7747 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -11,8 +11,6 @@ on: jobs: build: - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} runs-on: ubuntu-latest strategy: @@ -45,5 +43,8 @@ jobs: export PATH="$HOME/miniconda/bin:$PATH" export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv - source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap - coveralls.github + source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap && ls .coverage + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} From 8b4d623bb2f1af472c0e6fa80df3ed56599ae0f7 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sun, 29 Mar 2020 16:56:40 +0300 Subject: [PATCH 25/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index e7ab7747..01077637 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -43,7 +43,7 @@ jobs: export PATH="$HOME/miniconda/bin:$PATH" export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv - source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap && ls .coverage + source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap && ls ./coverage/lcov.info - name: Coveralls uses: coverallsapp/github-action@master with: From 996d54877942691cb6772ec03b44064b715c521f Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sun, 29 Mar 2020 21:51:49 +0300 Subject: [PATCH 26/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 01077637..16256fb9 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -43,7 +43,7 @@ jobs: export PATH="$HOME/miniconda/bin:$PATH" export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv - source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap && ls ./coverage/lcov.info + source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap && ls ./coverage - name: Coveralls uses: coverallsapp/github-action@master with: From 039d546c1a26302e730b5eec3f8c910f04b36eb7 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sun, 29 Mar 2020 22:07:09 +0300 Subject: [PATCH 27/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 16256fb9..05d78622 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -43,7 +43,7 @@ jobs: export PATH="$HOME/miniconda/bin:$PATH" export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv - source build/INSTALL/thisostap.sh && nosetests --with-coverage --cover-package=ostap && ls ./coverage + source build/INSTALL/thisostap.sh && nosetests -s -v -a '!slow' --with-coverage --cover-erase --cover-branches --cover-html --cover-html-dir=coverage --cover-package=ostap && ls ./coverage - name: Coveralls uses: coverallsapp/github-action@master with: From ba22c7620dc06202ef9a6b873a659458de882dec Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sun, 29 Mar 2020 23:05:14 +0300 Subject: [PATCH 28/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 05d78622..3a1751c2 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -43,8 +43,7 @@ jobs: export PATH="$HOME/miniconda/bin:$PATH" export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv - source build/INSTALL/thisostap.sh && nosetests -s -v -a '!slow' --with-coverage --cover-erase --cover-branches --cover-html --cover-html-dir=coverage --cover-package=ostap && ls ./coverage - - name: Coveralls - uses: coverallsapp/github-action@master + source build/INSTALL/thisostap.sh && nosetests -s -v -a '!slow' --with-coverage --cover-erase --cover-branches --cover-html --cover-html-dir=coverage --cover-package=ostap + coveralls with: github-token: ${{ secrets.GITHUB_TOKEN }} From 95058e2e02b4ea9adeb40010c6ffdc00cea05856 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sun, 29 Mar 2020 23:30:11 +0300 Subject: [PATCH 29/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 3a1751c2..7ca765ad 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -37,7 +37,7 @@ jobs: export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && make -j12 && make install && cd ../ - - name: Test + - name: Test run: | pip install coverage coveralls export PATH="$HOME/miniconda/bin:$PATH" @@ -45,5 +45,7 @@ jobs: source activate testenv source build/INSTALL/thisostap.sh && nosetests -s -v -a '!slow' --with-coverage --cover-erase --cover-branches --cover-html --cover-html-dir=coverage --cover-package=ostap coveralls - with: - github-token: ${{ secrets.GITHUB_TOKEN }} + env: + github-token: ${{ secrets.GITHUB_TOKEN }} + + From 1b23364ac5c8f9bad8e989df459ca827d73f29c1 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sun, 29 Mar 2020 23:39:43 +0300 Subject: [PATCH 30/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 7ca765ad..c0b95395 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -46,6 +46,6 @@ jobs: source build/INSTALL/thisostap.sh && nosetests -s -v -a '!slow' --with-coverage --cover-erase --cover-branches --cover-html --cover-html-dir=coverage --cover-package=ostap coveralls env: - github-token: ${{ secrets.GITHUB_TOKEN }} + COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} From b20d8087f87a06b990078e55e9a7f82be30e8310 Mon Sep 17 00:00:00 2001 From: TatianaOvsiannikova <43534935+TatianaOvsiannikova@users.noreply.github.com> Date: Sat, 4 Apr 2020 00:17:19 +0300 Subject: [PATCH 31/31] Update coveralls.yml --- .github/workflows/coveralls.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index c0b95395..bbb45e38 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -37,15 +37,3 @@ jobs: export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv source activate testenv mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=./INSTALL/ && make -j12 && make install && cd ../ - - name: Test - run: | - pip install coverage coveralls - export PATH="$HOME/miniconda/bin:$PATH" - export CONDA_ENV_PATH=$HOME/miniconda/envs/testenv - source activate testenv - source build/INSTALL/thisostap.sh && nosetests -s -v -a '!slow' --with-coverage --cover-erase --cover-branches --cover-html --cover-html-dir=coverage --cover-package=ostap - coveralls - env: - COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -