-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'f2b14084fb00a1f90e124484b0bf3da4f93ca311'
- Loading branch information
Showing
46 changed files
with
1,066 additions
and
710 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 |
---|---|---|
|
@@ -30,15 +30,16 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Install Git LFS | ||
if: runner.os != 'Windows' | ||
shell: pwsh | ||
run: | | ||
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash | ||
sudo apt-get install git-lfs | ||
git lfs install | ||
- name: Install Git LFS (Windows) | ||
if: runner.os == 'Windows' | ||
run: | | ||
choco install git-lfs | ||
if ($env:RUNNER_OS -eq "Linux") { | ||
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash | ||
sudo apt-get install git-lfs | ||
} elseif ($env:RUNNER_OS -eq "macOS") { | ||
brew install git-lfs | ||
} elseif ($env:RUNNER_OS -eq "Windows") { | ||
choco install git-lfs | ||
} | ||
git lfs install | ||
- name: Install dependencies | ||
run: | | ||
|
@@ -53,7 +54,7 @@ jobs: | |
run: | | ||
git config --global credential.helper store | ||
echo "https://USER:[email protected]" > ~/.git-credentials | ||
git clone https://huggingface.co/liferecors/Telos.git telos/models | ||
git clone https://huggingface.co/liferecords/Telos.git telos/models | ||
- name: Run tests | ||
run: | | ||
tox -e py | ||
|
@@ -68,15 +69,22 @@ jobs: | |
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install tox isort black | ||
pip install tox isort black pylint | ||
- name: Run isort | ||
run: isort . | ||
run: isort . --check-only --diff | ||
- name: Run black | ||
run: black . | ||
# - name: Run pylint | ||
# run: pylint **/*.py --exit-zero --output-format=parseable --reports=y > pylint_report.txt | ||
- name: Run linting | ||
run: | | ||
tox -e isort | ||
tox -e pylint | ||
# tox -e isort | ||
# tox -e pylint | ||
# - name: Upload pylint report | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: pylint-report | ||
# path: pylint_report.txt | ||
- name: Commit changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
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
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.