Refactor import and initialization of PsycopgResource class #49
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#name: Test API using Pytest | |
# | |
#on: | |
# pull_request: | |
# | |
#jobs: | |
# test_api: | |
# env: | |
# SECRET_KEY: ${{ secrets.SECRET_KEY }} | |
# DEV_DB_CONN_STRING: ${{secrets.DEV_DB_CONN_STRING}} | |
# name: Test API | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: actions/setup-python@v4 | |
# with: | |
# python-version: '3.11' | |
# - name: Install dependencies | |
# run: | | |
# python -m pip install --upgrade pip | |
# pip install -r requirements.txt | |
# python -m spacy download en_core_web_sm | |
# pip install pytest pytest-cov | |
# - name: Run tests | |
# run: pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html |