Skip to content

Commit 04f8a4c

Browse files
Update components in collect coverage
Use Python 3.12, install recent NumPy (instead of 1.25), update gtest from 1.13 to 1.15.2
1 parent 7c461f1 commit 04f8a4c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/generate-coverage.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
env:
1717
ONEAPI_ROOT: /opt/intel/oneapi
18-
GTEST_ROOT: /home/runner/work/googletest-1.13.0/install
18+
GTEST_ROOT: /home/runner/work/googletest-1.15.2/install
1919
# Use oneAPI compiler 2023 to work around an issue
2020
USE_2023: 0
2121

@@ -52,16 +52,16 @@ jobs:
5252
- name: Setup Python
5353
uses: actions/setup-python@v5
5454
with:
55-
python-version: '3.11'
55+
python-version: '3.12'
5656
architecture: x64
5757

5858
- name: Cache Gtest
5959
id: cache-gtest
6060
uses: actions/cache@v4
6161
with:
6262
path: |
63-
/home/runner/work/googletest-1.13.0/install
64-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('/home/runner/work/googletest-1.13.0/install/include/gtest/*') }}
63+
/home/runner/work/googletest-1.15.2/install
64+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('/home/runner/work/googletest-1.15.2/install/include/gtest/*') }}
6565
restore-keys: |
6666
${{ runner.os }}-build-${{ env.cache-name }}-
6767
${{ runner.os }}-build-
@@ -72,12 +72,12 @@ jobs:
7272
shell: bash -l {0}
7373
run: |
7474
cd /home/runner/work
75-
wget https://github.com/google/googletest/archive/refs/tags/v1.13.0.tar.gz
76-
tar xf v1.13.0.tar.gz
77-
cd googletest-1.13.0
75+
wget https://github.com/google/googletest/archive/refs/tags/v1.15.2.tar.gz
76+
tar xf v1.15.2.tar.gz
77+
cd googletest-1.15.2
7878
mkdir build
7979
cd build
80-
cmake .. -DCMAKE_INSTALL_PREFIX=/home/runner/work/googletest-1.13.0/install
80+
cmake .. -DCMAKE_INSTALL_PREFIX=/home/runner/work/googletest-1.15.2/install
8181
make && make install
8282
8383
- name: Checkout repo
@@ -92,7 +92,7 @@ jobs:
9292
- name: Install dpctl dependencies
9393
shell: bash -l {0}
9494
run: |
95-
pip install numpy"<1.26.0" cython setuptools pytest pytest-cov scikit-build cmake coverage[toml] versioneer[toml]==0.29
95+
pip install numpy cython setuptools pytest pytest-cov scikit-build cmake coverage[toml] versioneer[toml]==0.29
9696
9797
- name: Build dpctl with coverage
9898
shell: bash -l {0}

0 commit comments

Comments
 (0)