MedAdapt Content Server

by ryoureddy
Verified
name: Python Tests on: push: branches: [ main ] pull_request: branches: [ main ] jobs: test: runs-on: ubuntu-latest strategy: matrix: python-version: [3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install pytest pytest-cov if [ -f medadapt/content_server/requirements.txt ]; then pip install -r medadapt/content_server/requirements.txt; fi - name: Test with pytest run: | cd medadapt/content_server pytest --cov=./ --cov-report=xml - name: Integration tests run: | cd medadapt/content_server python test_server.py
ID: kf16vbveq1