-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: moved ekglib directory to src directory
- Loading branch information
Showing
158 changed files
with
3,516 additions
and
1,522 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = false | ||
insert_final_newline = false |
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 |
---|---|---|
|
@@ -16,48 +16,41 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
# python_version: [3.8, 3.9-dev] # The 3.9.0-rc1 version does not compile well with pandas binary compile | ||
python_version: [3.10.8] | ||
python_version: [3.13.0] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python ${{ matrix.python_version }} | ||
uses: actions/setup-python@v4 | ||
if: "!endsWith(matrix.python_version, '-dev')" | ||
- name: Install uv | ||
uses: astral-sh/setup-uv@v3 | ||
with: | ||
python-version: ${{ matrix.python_version }} | ||
enable-cache: true | ||
cache-dependency-glob: "uv.lock" | ||
|
||
- name: Set up Python ${{ matrix.python_version }} | ||
uses: deadsnakes/[email protected] | ||
if: endsWith(matrix.python_version, '-dev') | ||
with: | ||
python-version: ${{ matrix.python_version }} | ||
run: uv python install ${{ matrix.python_version }} | ||
|
||
- name: Display Python version | ||
run: python -c "import sys; print(sys.version)" | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install setuptools wheel flake8 pytest pytest-cov pytest-html | ||
python -m pip install poetry | ||
python -m poetry config virtualenvs.in-project true | ||
python -m poetry config virtualenvs.create false | ||
python -m poetry install | ||
python -m poetry build | ||
uv sync --all-extras --dev | ||
- name: Lint with flake8 | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
python -m flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
- name: Test with pytest | ||
run: | | ||
python -m pytest tests/ -rA \ | ||
--doctest-modules \ | ||
--cov-report=html \ | ||
uv run pytest tests/ \ | ||
--html=test-results-${{ matrix.python_version }}.html \ | ||
--self-contained-html \ | ||
--maxfail=2 \ | ||
--showlocals \ | ||
--tb=short | ||
- name: Upload pytest test results | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
|
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Configure git | ||
run: | | ||
git config --local user.email "[email protected]" | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.