Skip to content

[Snyk] Fix for 28 vulnerabilities #3

[Snyk] Fix for 28 vulnerabilities

[Snyk] Fix for 28 vulnerabilities #3

Workflow file for this run

name: "Pull Request Tests"
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install dependencies
run: python -m pip install -r requirements.txt
- name: Create CA directory
run: mkdir -p /opt/CAPy/CA
- name: Run tests
run: pytest --cov --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.xml