Skip to content

Commit

Permalink
Update tests.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ic-dev21 authored Oct 8, 2024
1 parent 8d7052d commit 5024380
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,42 +38,3 @@ jobs:
run: |
pre-commit run --all-files --show-diff-on-failure --color=always
on:
merge:
branches:
- main
- dev
pull_request:
schedule:
- cron: "0 0 * * *"

env:
DEFAULT_PYTHON: 3.9

jobs:
pre-commit:
runs-on: "ubuntu-latest"
name: Pre-commit
steps:
- name: Check out the repository
uses: actions/checkout@v4

- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/[email protected]
with:
python-version: ${{ env.DEFAULT_PYTHON }}

- name: Upgrade pip
run: |
pip install --constraint=.github/workflows/constraints.txt pip
pip --version
- name: Install Python modules
run: |
pip install --constraint=.github/workflows/constraints.txt pre-commit black flake8 reorder-python-imports
- name: Run pre-commit on all files
env:
SKIP: no-commit-to-branch
run: |
pre-commit run --all-files --show-diff-on-failure --color=always

0 comments on commit 5024380

Please sign in to comment.