aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorbulve-ad <78788030+bulve-ad@users.noreply.github.com>2024-08-23 17:25:29 +0100
committerGitHub <noreply@github.com>2024-08-23 17:25:29 +0100
commit8f75a47d01daf94999ee94a6c658adab6ca63c1d (patch)
tree64b5bb5010b9124ae612dcc7e7cb75400fa07241 /.github
parent30525f27ba1d20c65216cbe58a62953b8f1fe947 (diff)
parentf1e10e1a2f573c152b19a630577a71ce9aff2bb4 (diff)
downloadde-project-bentley-8f75a47d01daf94999ee94a6c658adab6ca63c1d.tar.gz
de-project-bentley-8f75a47d01daf94999ee94a6c658adab6ca63c1d.zip
Merge branch 'test/test_transform_lambda' into test/dataframes
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/dev-tests.yml15
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/dev-tests.yml b/.github/workflows/dev-tests.yml
index d66f1c6..e183f36 100644
--- a/.github/workflows/dev-tests.yml
+++ b/.github/workflows/dev-tests.yml
@@ -8,8 +8,12 @@ on:
branches:
- development
+env:
+ PYTHONPATH: ${{ github.workspace }}
+
jobs:
validate-and-test:
+ environment: testing
name: Validate Terraform and Run Tests
runs-on: ubuntu-latest
steps:
@@ -35,14 +39,21 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
- pip install pytest pytest-testdox
+ pip install pytest pytest-testdox pytest-cov
pip install -r requirements.txt
- name: Run pytest
- run: pytest tests/ -vvrP --testdox
+ run: pytest -v --cov=src --cov-report=xml --cov-report=term-missing
continue-on-error: true
id: pytest
- name: Check on failures
if: steps.pytest.outcome == 'failure'
run: exit 1
+
+ - name: Upload Coverage Report'
+ uses: actions/upload-artifact@v4
+ with:
+ name: cov-report
+ path: coverage.xml
+ retention-days: 7
git.ajschof.me — hosted by ajschofield — powered by cgit