-
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.
ci: Lint requirements. Use official coveralls action. chore: Remove l…
…inters from requirements.
- Loading branch information
1 parent
c361b8e
commit 7b25e1b
Showing
8 changed files
with
34 additions
and
83 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 |
---|---|---|
|
@@ -6,13 +6,27 @@ jobs: | |
build: | ||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | ||
runs-on: ubuntu-latest | ||
env: | ||
PAT: ${{ secrets.PAT }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PAT || github.token }} | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
cache: pip | ||
cache-dependency-path: '**/requirements*.txt' | ||
- id: changed-files | ||
uses: tj-actions/changed-files@v45 | ||
- uses: pre-commit/[email protected] | ||
continue-on-error: true | ||
with: | ||
extra_args: pip-compile --files ${{ steps.changed-files.outputs.all_changed_files }} | ||
- if: ${{ env.PAT }} | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: '[github-actions] pre-commit autoupdate' | ||
- shell: bash | ||
run: curl -s -S --retry 3 $BASEDIR/tests/install.sh | bash - | ||
- shell: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
-r requirements.txt | ||
coveralls | ||
flake8 | ||
isort | ||
pre-commit | ||
libsass | ||
pytest | ||
pytest-cov | ||
pytest-flask | ||
|
||
# Build utilities | ||
libsass |
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