-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
[paths] | ||
source = | ||
pylibscrypt | ||
/app/pylibscrypt | ||
|
||
|
||
[report] | ||
exclude_lines = | ||
# Not called from coverage tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
FROM ubuntu:18.04 | ||
RUN apt-get update && apt-get install -y python python-pip libscrypt0 libsodium23 python-openssl libssl-dev | ||
RUN apt-get install -y python3.6 python3-pip libpython3.6-dev | ||
RUN python -m pip install coverage hypothesis scrypt | ||
RUN python3.6 -m pip install coverage hypothesis scrypt | ||
FROM ubuntu:20.04 | ||
RUN apt-get update && apt-get install -y python3 python3-pip libpython3-dev libscrypt0 libsodium23 python-openssl libssl-dev | ||
RUN python3 -m pip install coverage hypothesis scrypt | ||
WORKDIR /app | ||
CMD ["./run_docker.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
PYTHON=python3 | ||
$PYTHON -m coverage run --branch -m pylibscrypt.tests | ||
$PYTHON -m coverage run --branch -a -m pylibscrypt.test_properties | ||
$PYTHON -m coverage run --branch -a -m pylibscrypt.pylibscrypt | ||
$PYTHON -m coverage run --branch -a -m pylibscrypt.pylibsodium | ||
$PYTHON -m coverage run --branch -a test_fallback.py | ||
$PYTHON -m coverage run --branch -a test_fallback.py -e | ||
$PYTHON -m coverage run --branch -a test_fallback.py -p | ||
$PYTHON -m coverage run --branch -a test_fallback.py -e -p | ||
$PYTHON -m coverage run --branch -p -m pylibscrypt.tests | ||
$PYTHON -m coverage run --branch -p -m pylibscrypt.test_properties | ||
$PYTHON -m coverage run --branch -p -m pylibscrypt.pylibscrypt | ||
$PYTHON -m coverage run --branch -p -m pylibscrypt.pylibsodium | ||
$PYTHON -m coverage run --branch -p test_fallback.py | ||
$PYTHON -m coverage run --branch -p test_fallback.py -e | ||
$PYTHON -m coverage run --branch -p test_fallback.py -p | ||
$PYTHON -m coverage run --branch -p test_fallback.py -e -p |