-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into createchecks
- Loading branch information
Showing
10 changed files
with
104 additions
and
21 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 |
---|---|---|
|
@@ -29,4 +29,4 @@ | |
pattern: './/FunctionDef/body//If[ancestor::If and not(parent::orelse)]' | ||
count: | ||
min: 1 | ||
max: 300 | ||
max: 300 |
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 |
---|---|---|
|
@@ -95,16 +95,3 @@ jobs: | |
echo "### Total coverage: ${TOTAL}%" >> $GITHUB_STEP_SUMMARY | ||
CURRENT_GITHUB_STEP_SUMMARY="\`\`\`\n$(cat coverage.txt)\n\`\`\`" | ||
echo "$CURRENT_GITHUB_STEP_SUMMARY" >> $GITHUB_STEP_SUMMARY | ||
# Create the Coverage Badge | ||
- name: Make Badge | ||
uses: schneegans/[email protected] | ||
with: | ||
# GIST_TOKEN is a GitHub personal access token with scope "gist". | ||
auth: ${{ secrets.GIST_TOKEN }} | ||
gistID: 5300aa276fa9261b2b21b96c3141b3ad | ||
filename: covbadge.json | ||
label: Coverage | ||
message: ${{ env.total }}% | ||
minColorRange: 50 | ||
maxColorRange: 90 | ||
valColorRange: ${{ env.total }} |
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 |
---|---|---|
|
@@ -366,3 +366,6 @@ coverage.txt | |
|
||
# coverage report | ||
coverage.json | ||
|
||
# bash command history | ||
.bash_history |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FROM ubuntu | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get upgrade -y \ | ||
&& apt-get install software-properties-common -y \ | ||
&& add-apt-repository ppa:deadsnakes/ppa -y \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get install python3.11 -y \ | ||
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1 \ | ||
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 2 \ | ||
&& apt-get install python-is-python3 -y | ||
|
||
RUN apt-get install -y curl \ | ||
&& curl -sSL https://install.python-poetry.org | python - \ | ||
&& apt install -y python3.11 python3.11-distutils \ | ||
&& curl -sSl https://bootstrap.pypa.io/get-pip.py | python - | ||
|
||
RUN apt-get install -y libsqlite3-dev \ | ||
&& apt-get install python3.11-dev -y \ | ||
&& apt-get install -y libgmp-dev \ | ||
portaudio19-dev \ | ||
libssl-dev \ | ||
libpcap-dev \ | ||
libffi-dev \ | ||
libxml2-dev \ | ||
libxslt1-dev \ | ||
libblas-dev \ | ||
libatlas-base-dev \ | ||
&& apt-get install -y gcc-x86-64-linux-gnu | ||
|
||
CMD cd root \ | ||
&& mkdir src | ||
|
||
ENTRYPOINT export PATH="/root/.local/bin:$PATH" && cd root/src && /bin/bash |
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
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
"""Pytest test suite for the database module.""" | ||
|
||
from chasten import database, filesystem, util | ||
|
||
|
||
def test_executable_name() -> None: | ||
assert filesystem.can_find_executable( | ||
database.executable_name(OpSystem=util.get_OS()) | ||
) |