Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub Actions workflow #349

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install swig libsasl2-dev libssl-dev libpq-dev
sudo apt-get install openjdk-8-jdk dejagnu checkstyle # gcj-jdk is not available anymore
sudo apt-get install openjdk-8-jdk dejagnu checkstyle
sudo apt-get install r-base wget
sudo apt-get install libcunit1-dev libcppunit-dev
sudo apt-get install apache2-dev # needed for unit test of praktomat.wsgi , praktomat.wsgi used mod_wsgi, installing mod_wsgi via requirementsfile via pip needs apache2-dev
Expand Down Expand Up @@ -59,9 +59,9 @@ jobs:
ls -la --time-style=long-iso ..
- name: Run tests
run: |
./src/manage-test.py test accounts attestation checker configuration solutions tasks hbrs_tests
./src/manage-test.py test accounts attestation checker configuration solutions tasks taskstatistics hbrs_tests
- name: Run test with code coverage
run: |
coverage run --branch --omit='*/node_modules/*,*/migrations/*' --source='./src' ./src/manage-test.py test accounts attestation checker configuration solutions tasks hbrs_tests
coverage run --branch --omit='*/node_modules/*,*/migrations/*' --source='./src' ./src/manage-test.py test accounts attestation checker configuration solutions tasks taskstatistics hbrs_tests
- name: Coverage report
run: coverage report