Skip to content

Commit ad0d8b9

Browse files
committed
Fix coverage uploads and conda tests.
1 parent 2e56508 commit ad0d8b9

17 files changed

+34
-1
lines changed

repo_helper/templates/github_ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ jobs:
7070
if: ${{ brace("always() && steps.setup-python.outcome == 'success'") }}
7171
with:
7272
name: "coverage-${{ brace('matrix.config.python-version')}}"
73-
path: .coverage{% endif %}
73+
path: .coverage
74+
include-hidden-files: true{% endif %}
7475
{% if ci_name == "Linux" %}{% if enable_tests and not stubs_package %}
7576

7677
Coverage:
@@ -113,6 +114,7 @@ jobs:
113114
with:
114115
name: "combined-coverage"
115116
path: .coverage
117+
include-hidden-files: true
116118

117119
- name: "Upload Combined Coverage to Coveralls"
118120
if: ${{ brace("steps.show.outcome != 'failure'") }}
@@ -198,6 +200,7 @@ jobs:
198200
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
199201
$CONDA/bin/conda update -n base conda
200202
$CONDA/bin/conda info -a
203+
$CONDA/bin/conda install conda-forge::py-lief=0.14.1
201204
{% for channel in conda_channels %}$CONDA/bin/conda config --add channels {{ channel }}
202205
{% endfor %}
203206
$CONDA/bin/conda config --remove channels defaults

tests/test_files/test_ci_cd_/test_github_ci_case_1.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,4 @@ jobs:
7070
with:
7171
name: "coverage-${{ matrix.config.python-version }}"
7272
path: .coverage
73+
include-hidden-files: true

tests/test_files/test_ci_cd_/test_github_ci_case_2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ jobs:
7373
with:
7474
name: "coverage-${{ matrix.config.python-version }}"
7575
path: .coverage
76+
include-hidden-files: true

tests/test_files/test_ci_cd_/test_github_ci_windows_38.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,4 @@ jobs:
7171
with:
7272
name: "coverage-${{ matrix.config.python-version }}"
7373
path: .coverage
74+
include-hidden-files: true

tests/test_files/test_ci_cd_/test_make_github_linux_case_1.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
with:
7272
name: "coverage-${{ matrix.config.python-version }}"
7373
path: .coverage
74+
include-hidden-files: true
7475

7576

7677
Coverage:
@@ -113,6 +114,7 @@ jobs:
113114
with:
114115
name: "combined-coverage"
115116
path: .coverage
117+
include-hidden-files: true
116118

117119
- name: "Upload Combined Coverage to Coveralls"
118120
if: ${{ steps.show.outcome != 'failure' }}
@@ -198,6 +200,7 @@ jobs:
198200
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
199201
$CONDA/bin/conda update -n base conda
200202
$CONDA/bin/conda info -a
203+
$CONDA/bin/conda install conda-forge::py-lief=0.14.1
201204
$CONDA/bin/conda config --add channels conda-forge
202205
203206
$CONDA/bin/conda config --remove channels defaults

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_no_releases_no_tests_conda_no_pure_python_.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
with:
7272
name: "coverage-${{ matrix.config.python-version }}"
7373
path: .coverage
74+
include-hidden-files: true
7475

7576

7677
Coverage:
@@ -113,6 +114,7 @@ jobs:
113114
with:
114115
name: "combined-coverage"
115116
path: .coverage
117+
include-hidden-files: true
116118

117119
- name: "Upload Combined Coverage to Coveralls"
118120
if: ${{ steps.show.outcome != 'failure' }}

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_no_releases_no_tests_conda_pure_python_.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
with:
7272
name: "coverage-${{ matrix.config.python-version }}"
7373
path: .coverage
74+
include-hidden-files: true
7475

7576

7677
Coverage:
@@ -113,6 +114,7 @@ jobs:
113114
with:
114115
name: "combined-coverage"
115116
path: .coverage
117+
include-hidden-files: true
116118

117119
- name: "Upload Combined Coverage to Coveralls"
118120
if: ${{ steps.show.outcome != 'failure' }}

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_no_releases_tests_conda_no_pure_python_.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
with:
7272
name: "coverage-${{ matrix.config.python-version }}"
7373
path: .coverage
74+
include-hidden-files: true
7475

7576

7677
Coverage:
@@ -113,6 +114,7 @@ jobs:
113114
with:
114115
name: "combined-coverage"
115116
path: .coverage
117+
include-hidden-files: true
116118

117119
- name: "Upload Combined Coverage to Coveralls"
118120
if: ${{ steps.show.outcome != 'failure' }}
@@ -198,6 +200,7 @@ jobs:
198200
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
199201
$CONDA/bin/conda update -n base conda
200202
$CONDA/bin/conda info -a
203+
$CONDA/bin/conda install conda-forge::py-lief=0.14.1
201204
$CONDA/bin/conda config --add channels conda-forge
202205
203206
$CONDA/bin/conda config --remove channels defaults

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_no_releases_tests_conda_pure_python_.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
with:
7272
name: "coverage-${{ matrix.config.python-version }}"
7373
path: .coverage
74+
include-hidden-files: true
7475

7576

7677
Coverage:
@@ -113,6 +114,7 @@ jobs:
113114
with:
114115
name: "combined-coverage"
115116
path: .coverage
117+
include-hidden-files: true
116118

117119
- name: "Upload Combined Coverage to Coveralls"
118120
if: ${{ steps.show.outcome != 'failure' }}
@@ -198,6 +200,7 @@ jobs:
198200
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
199201
$CONDA/bin/conda update -n base conda
200202
$CONDA/bin/conda info -a
203+
$CONDA/bin/conda install conda-forge::py-lief=0.14.1
201204
$CONDA/bin/conda config --add channels conda-forge
202205
203206
$CONDA/bin/conda config --remove channels defaults

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_no_releases_tests_no_conda_no_pure_python_.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ jobs:
143143
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
144144
$CONDA/bin/conda update -n base conda
145145
$CONDA/bin/conda info -a
146+
$CONDA/bin/conda install conda-forge::py-lief=0.14.1
146147
$CONDA/bin/conda config --add channels conda-forge
147148
148149
$CONDA/bin/conda config --remove channels defaults

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_no_releases_tests_no_conda_pure_python_.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ jobs:
143143
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
144144
$CONDA/bin/conda update -n base conda
145145
$CONDA/bin/conda info -a
146+
$CONDA/bin/conda install conda-forge::py-lief=0.14.1
146147
$CONDA/bin/conda config --add channels conda-forge
147148
148149
$CONDA/bin/conda config --remove channels defaults

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_releases_no_tests_conda_no_pure_python_.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
with:
7272
name: "coverage-${{ matrix.config.python-version }}"
7373
path: .coverage
74+
include-hidden-files: true
7475

7576

7677
Coverage:
@@ -113,6 +114,7 @@ jobs:
113114
with:
114115
name: "combined-coverage"
115116
path: .coverage
117+
include-hidden-files: true
116118

117119
- name: "Upload Combined Coverage to Coveralls"
118120
if: ${{ steps.show.outcome != 'failure' }}

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_releases_no_tests_conda_pure_python_.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
with:
7272
name: "coverage-${{ matrix.config.python-version }}"
7373
path: .coverage
74+
include-hidden-files: true
7475

7576

7677
Coverage:
@@ -113,6 +114,7 @@ jobs:
113114
with:
114115
name: "combined-coverage"
115116
path: .coverage
117+
include-hidden-files: true
116118

117119
- name: "Upload Combined Coverage to Coveralls"
118120
if: ${{ steps.show.outcome != 'failure' }}

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_releases_tests_conda_no_pure_python_.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
with:
7272
name: "coverage-${{ matrix.config.python-version }}"
7373
path: .coverage
74+
include-hidden-files: true
7475

7576

7677
Coverage:
@@ -113,6 +114,7 @@ jobs:
113114
with:
114115
name: "combined-coverage"
115116
path: .coverage
117+
include-hidden-files: true
116118

117119
- name: "Upload Combined Coverage to Coveralls"
118120
if: ${{ steps.show.outcome != 'failure' }}
@@ -198,6 +200,7 @@ jobs:
198200
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
199201
$CONDA/bin/conda update -n base conda
200202
$CONDA/bin/conda info -a
203+
$CONDA/bin/conda install conda-forge::py-lief=0.14.1
201204
$CONDA/bin/conda config --add channels conda-forge
202205
203206
$CONDA/bin/conda config --remove channels defaults

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_releases_tests_conda_pure_python_.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
with:
7272
name: "coverage-${{ matrix.config.python-version }}"
7373
path: .coverage
74+
include-hidden-files: true
7475

7576

7677
Coverage:
@@ -113,6 +114,7 @@ jobs:
113114
with:
114115
name: "combined-coverage"
115116
path: .coverage
117+
include-hidden-files: true
116118

117119
- name: "Upload Combined Coverage to Coveralls"
118120
if: ${{ steps.show.outcome != 'failure' }}
@@ -198,6 +200,7 @@ jobs:
198200
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
199201
$CONDA/bin/conda update -n base conda
200202
$CONDA/bin/conda info -a
203+
$CONDA/bin/conda install conda-forge::py-lief=0.14.1
201204
$CONDA/bin/conda config --add channels conda-forge
202205
203206
$CONDA/bin/conda config --remove channels defaults

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_releases_tests_no_conda_no_pure_python_.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ jobs:
143143
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
144144
$CONDA/bin/conda update -n base conda
145145
$CONDA/bin/conda info -a
146+
$CONDA/bin/conda install conda-forge::py-lief=0.14.1
146147
$CONDA/bin/conda config --add channels conda-forge
147148
148149
$CONDA/bin/conda config --remove channels defaults

tests/test_files/test_ci_cd_/test_make_github_linux_case_3_releases_tests_no_conda_pure_python_.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ jobs:
143143
$CONDA/bin/conda config --set always_yes yes --set changeps1 no
144144
$CONDA/bin/conda update -n base conda
145145
$CONDA/bin/conda info -a
146+
$CONDA/bin/conda install conda-forge::py-lief=0.14.1
146147
$CONDA/bin/conda config --add channels conda-forge
147148
148149
$CONDA/bin/conda config --remove channels defaults

0 commit comments

Comments
 (0)