Skip to content

Remove sdk dep

Remove sdk dep #523

Workflow file for this run

name: tests
on:
push:
branches: ['*', '*/*', master]
jobs:
run_pytest:
name: Run pytest for Evalme
runs-on: ubuntu-latest
env:
LOG_DIR: pytest_logs
collect_analytics: false
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.7'
- uses: actions/cache@v3
name: Configure pip cache
id: pip-cache
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-test.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
sudo apt-get clean
sudo apt-get update
sudo apt-get install virtualenv libsasl2-dev python3-dev libldap2-dev libssl-dev
pip install -U pip==20.2
pip install -r requirements.txt -r requirements-test.txt
- name: Run functional tests
run: |
cd evalme/
pytest --junitxml report.xml --cov=. -m "not integration_tests"
- name: "Upload coverage to Codecov"
uses: codecov/[email protected]
with:
name: codecov
files: ./evalme/report.xml
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true