Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version-file: .python-version
- uses: pre-commit/action@v3.0.1
2 changes: 1 addition & 1 deletion smart_tests/commands/gate.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
from tabulate import tabulate

from smart_tests.utils.tracking import TrackingClient

from .. import args4p
from ..app import Application
from ..args4p import typer

from ..utils.commands import Command
from ..utils.session import SessionId
from ..utils.smart_tests_client import SmartTestsClient
Expand Down
2 changes: 1 addition & 1 deletion tests/commands/update/test_alias.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

import responses # type: ignore

from tests.cli_test_case import CliTestCase
from smart_tests.utils.http_client import get_base_url
from tests.cli_test_case import CliTestCase


class AliasTest(CliTestCase):
Expand Down
1 change: 0 additions & 1 deletion tests/data/jasmine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ Request subset
cat test_list.txt | launchable subset --target 25% jasmine > subset.txt
npx jasmine $(cat subset.txt)
```

2 changes: 1 addition & 1 deletion tests/data/karma/subset_payload.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
"session": { "id": "16" },
"getTestsFromGuess": false,
"getTestsFromPreviousSessions": false
}
}
1 change: 0 additions & 1 deletion tests/data/playwright/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

Loading