-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change licenses * Set 3.0.0 as upper bound on pytorch version * Remove macos from ci builds * Update changelog in prep for release * Add security to CI * Replace binom_test with binomtest * Fix Scikit-learn CalibratedClassifierCV signature and binomtest return value * Update contributing.md * Remove references to open source in README.md
- Loading branch information
Showing
18 changed files
with
5,383 additions
and
4,831 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
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,59 @@ | ||
name: Security Scan | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- release/* | ||
schedule: | ||
- cron: "0 0 * * 1" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
scan-code: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
- name: Install dependencies | ||
run: | | ||
pip install .[all] | ||
- name: Create requirements.txt | ||
run: | | ||
# Snyk has issues working with complex setup.py files (e.g. | ||
# https://github.com/snyk/cli/issues/1367). | ||
# To account for this, we set up the environment and then dump it | ||
# into a `requirements.txt` - this env includes both production and | ||
# development dependencies. | ||
# TODO: Once we move into Poetry, this can be replaced for the lock | ||
# file. | ||
pip freeze > requirements.txt | ||
- name: Security Scan | ||
uses: snyk/actions/python-3.10@master | ||
with: | ||
args: --fail-on=upgradable | ||
--severity-threshold=high | ||
--all-projects | ||
--exclude=tests,testing,docs | ||
--sarif-file-output=snyk-code.sarif | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
|
||
static-code-analysis: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Static Code Analysis Scan | ||
uses: snyk/actions/python-3.10@master | ||
with: | ||
command: code test | ||
args: --fail-on=upgradable | ||
--severity-threshold=high | ||
--all-projects | ||
--exclude=tests,docs | ||
--sarif-file-output=snyk-sat.sarif | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |
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,2 @@ | ||
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. | ||
version: v1.25.0 |
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
Oops, something went wrong.