diff options
| author | Ján Jančár | 2022-12-08 14:43:03 +0100 |
|---|---|---|
| committer | GitHub | 2022-12-08 14:43:03 +0100 |
| commit | 19338dc9fd9ab257c36cfa277994abe202e97de2 (patch) | |
| tree | 45d0a822a67c73fac7f66401897065261687f038 | |
| parent | 5a5c4cdbf7c7b9aedbd4e73b0bf6c88e09f2fd86 (diff) | |
| parent | 5b14a065af3bf3c5c8f6a78b779fa9e97811d954 (diff) | |
| download | sec-certs-19338dc9fd9ab257c36cfa277994abe202e97de2.tar.gz sec-certs-19338dc9fd9ab257c36cfa277994abe202e97de2.tar.zst sec-certs-19338dc9fd9ab257c36cfa277994abe202e97de2.zip | |
Merge pull request #292 from crocs-muni/feat/codecov
Add codecov
| -rw-r--r-- | .github/workflows/lint.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/tests.yml | 4 | ||||
| -rw-r--r-- | README.md | 6 | ||||
| -rw-r--r-- | codecov.yml | 8 |
4 files changed, 16 insertions, 4 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d62b62b4..95de7f7b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,7 +3,7 @@ on: push: workflow_dispatch: jobs: - run-mypy: + mypy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8f5d5f5..255b6cac 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,7 +6,7 @@ env: DEBIAN_FRONTEND: noninteractive jobs: - run-test: + test: runs-on: ubuntu-22.04 steps: - name: Install Poppler @@ -22,3 +22,5 @@ jobs: pip install -r requirements/test_requirements.txt - name: Run tests run: pytest --cov=sec_certs tests + - name: Code coverage upload + uses: codecov/codecov-action@v3 @@ -5,11 +5,13 @@ A tool for data scraping and analysis of security certificates from Common Criteria and FIPS 140-2/3 frameworks. This project is developed by the [Centre for Research On Cryptography and Security](https://crocs.fi.muni.cz) at Masaryk University, Czech Republic. [](https://seccerts.org) -[](https://seccerts.org/docs/index.html) +[](https://seccerts.org/docs/index.html) [](https://pypi.org/project/sec-certs/) [](https://pypi.org/project/sec-certs/) -[](https://github.com/crocs-muni/sec-certs/actions/workflows/tests.yml) + +[](https://github.com/crocs-muni/sec-certs/actions/workflows/tests.yml) [](https://hub.docker.com/repository/docker/seccerts/sec-certs) +[](https://app.codecov.io/gh/crocs-muni/sec-certs) ## Installation diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..5bf2bbe4 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,8 @@ +coverage: + range: 50..100 + round: up + precision: 2 + +ignore: + - "test/**/*.py" + - "setup.py"
\ No newline at end of file |
