Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 02e23ff

Browse files
author
William McLendon
committed
Debuggign github actions ci/cd test script
1 parent 5b7f81e commit 02e23ff

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

.github/workflows/test-driver-core.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,21 @@ jobs:
3434
- name: Build VirtualEnv
3535
run: |
3636
# cd ${{ github.workspace }}
37-
#echo "cache name : ${{ env.cache-name }}"
38-
#echo "github.head_ref: '${{ github.head_ref }}'"
39-
#echo "github.sha : '${{ github.sha }}'"
37+
echo "cache name : '${{ env.cache-name }}'"
38+
echo "github.head_ref : '${{ github.head_ref }}'"
39+
echo "github.sha : '${{ github.sha }}'"
4040
#pwd
4141
#ls -ltrhF
4242
python3 --version > version.txt
4343
cat version.txt
4444
python3 -m venv ${{ env.venv-name }}
45+
#ls -ltrhF ${{ env.venv-name }}/bin/
4546
source ${{ env.venv-name }}/bin/activate
47+
echo "VIRTUAL_ENV = ${VIRTUAL_ENV}"
4648
cd source
4749
# python3 -m pip install wheel configparserenhanced @ git+https://github.com/sandialabs/ConfigParserEnhanced.git@master#egg=configparserenhanced
4850
python3 -m pip install wheel -r requirements.txt -r requirements-test.txt -r doc/requirements.txt
49-
ls -ltrhF
51+
#ls -ltrhF
5052
5153
pytest:
5254
runs-on: ubuntu-latest
@@ -69,8 +71,12 @@ jobs:
6971
- name: Execute
7072
run: |
7173
source ${{ env.venv-name }}/bin/activate
74+
cd source
7275
python3 -m pytest --version
73-
python3 -m pytest --cov=configparserenhanced --cov-report=term --cov-report=html --cov-report=html:${{ github.workspace }}/htmlcov --cov-config=.coveragerc
76+
#ls -ltrhF
77+
echo "VIRTUAL_ENV = ${VIRTUAL_ENV}"
78+
python3 -m pytest --cov=setprogramoptions --cov-report=term --cov-report=html:${{ github.workspace }}/htmlcov --cov-config=.coveragerc
79+
echo "htmlcov"
7480
ls -ltrhF ${{ github.workspace }}/htmlcov
7581
7682
- name: Save Artifacts
@@ -82,14 +88,6 @@ jobs:
8288

8389

8490

85-
86-
87-
88-
89-
90-
91-
92-
9391
# - name: Cache
9492
# uses: actions/cache@v2
9593
# env:

0 commit comments

Comments
 (0)