Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kasium committed Oct 30, 2023
1 parent 4bbdfcf commit b3b83f1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ jobs:
fail-fast: false
max-parallel: 1
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
sqlalchemy-version: ["1.4.*", "2.0.*"]
python-version: ["3.11"]
sqlalchemy-version: ["2.0.*"]
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
# sqlalchemy-version: ["1.4.*", "2.0.*"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -43,8 +45,9 @@ jobs:
- name: run tests (with coverage)
run: |
PYTEST_DBURI=$(python test/ci_setup.py setup ${{ secrets.TEST_DBURI }})
echo "::add-mask::$PYTEST_DBURI"
export PYTEST_ADDOPTS="--dburi $PYTEST_DBURI --dropfirst"
pytest --cov sqlalchemy_hana --cov-report html --cov-report xml test/"
pytest --cov sqlalchemy_hana --cov-report html --cov-report xml test/
python test/ci_setup.py teardown "$PYTEST_DBURI" ${{ secrets.TEST_DBURI }}
- name: run diff-cover
run: "diff-cover --config-file pyproject.toml coverage.xml"

0 comments on commit b3b83f1

Please sign in to comment.