Skip to content

Commit

Permalink
fix (ci): Fix CI pipeline trigger twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Anis K committed Feb 2, 2025
1 parent 582a2ab commit 2347171
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/black-linter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Linter

on: [push, pull_request]
on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
linter:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Tests

on: [push, pull_request]
on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
test:
Expand All @@ -16,4 +22,3 @@ jobs:
run: pip install -r requirements.txt -q
- name: Run tests
run: pytest

0 comments on commit 2347171

Please sign in to comment.