Skip to content

fix: TOOLS-2693 add ldap return codes (#216) #248

fix: TOOLS-2693 add ldap return codes (#216)

fix: TOOLS-2693 add ldap return codes (#216) #248

Workflow file for this run

name: Tests
on:
push:
branches: ["*"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get Python version from Pipfile
run: echo "PYTHON_VERSION=$(grep "python_full_version" Pipfile | cut -d ' ' -f 3 - | tr -d '"')" >> $GITHUB_ENV
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
run: |
python -m pip install pipenv
pipenv install --dev
- name: Build
run: |
make
- name: Tests with coverage report
env:
FEATKEY: ${{ secrets.TEST_FEAT_KEY }}
run: |
pipenv run bash -c "make coverage"
pipenv run bash -c "coverage xml"
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3
with:
files: coverage.xml
fail_ci_if_error: false