Skip to content

Added Proper exception handling for database methods #34

Added Proper exception handling for database methods

Added Proper exception handling for database methods #34

Workflow file for this run

name: pygenpass
on: [push, pull_request]
jobs:
pre-commit:
name: Pre-Commit Checks
runs-on: ubuntu-latest
steps:
- name: Checkout to master
uses: actions/checkout@master
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: '3.7'
architecture: 'x64'
- name: Pre-Commit Checks
run: |
python -m pip install pre-commit
pre-commit run -a
- name: Analysis (git diff)
if: failure()
run: git diff
# For future use
# tests:
# name: Test-${{ matrix.os }}-Py${{ matrix.python-version }}
# needs: pre-commit
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-latest, windows-latest, macos-latest]
# python-version: [ '3.6', '3.7' ]
# steps:
# - name: Checkout to master
# uses: actions/checkout@master
#
# - name: Setup Python-${{ matrix.python-version }}
# uses: actions/setup-python@v1
# with:
# python-version: ${{ matrix.python-version }}
# architecture: x64
#
# - name: Setup Package
# run: python -m pip install .
#
# - name: Unit Tests
# run: |
# python -m pip install pytest
# py.test -v