Skip to content

Commit

Permalink
update fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yjmm10 committed Aug 13, 2024
1 parent 8ed2cbe commit 6a0ebbf
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ jobs:
pip install dynaconf
pip install tox
- name: Download models
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git config --global credential.helper store
echo "https://USER:[email protected]" > ~/.git-credentials
git clone https://huggingface.co/liferecors/Telos.git telos/models
- name: Run tests
run: |
Expand All @@ -61,10 +65,23 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: pip install tox
- run: |
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox isort black
- name: Run isort
run: isort .
- name: Run black
run: black .
- name: Run linting
run: |
tox -e isort
tox -e pylint
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Apply automatic formatting changes"
file_pattern: "*.py"

build:
needs: [test, linting]
Expand Down

0 comments on commit 6a0ebbf

Please sign in to comment.