stop caching credentials in workflows, add pytest in hopes of fixing the CI build
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml
index c1470de..a40c5a7 100644
--- a/.github/workflows/build_cmake.yml
+++ b/.github/workflows/build_cmake.yml
@@ -43,6 +43,7 @@
uses: actions/checkout@v2
with:
submodules: true
+ persist-credentials: false
- name: Configure
run: cd build && cmake ..
- name: Build C++ unit tests
@@ -54,6 +55,6 @@
with:
python-version: '3.8' # 3.x grabs latest minor version of python3, but 3.9 not fully supported yet
- name: Install Python dependencies
- run: python -m pip install --upgrade pip setuptools wheel numpy tox
+ run: python -m pip install --upgrade pip setuptools wheel numpy tox pytest
- name: Build and run Python tests
run: python -m tox
diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml
index e9e3798..63cef24 100644
--- a/.github/workflows/code_coverage.yml
+++ b/.github/workflows/code_coverage.yml
@@ -19,6 +19,7 @@
uses: actions/checkout@v2
with:
submodules: true
+ persist-credentials: false
- name: Download and install lcov
run: |
VERSION="1.14"