Skip to content

Commit 8821e9b

Browse files
ci: remove ATS (#909)
Co-authored-by: Rushil Patel <[email protected]>
1 parent 31ca6aa commit 8821e9b

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.github/workflows/test.yml

+12-7
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,20 @@ jobs:
3232
- name: Setup environment
3333
uses: ./.github/actions/setup-environment
3434

35-
- name: Run ATS and Tests
36-
uses: ./.github/actions/run-ats
37-
timeout-minutes: 15
35+
- name: Test with pytest
36+
timeout-minutes: 5
37+
run: |
38+
uv run pytest \
39+
-n auto \
40+
--cov src \
41+
--timeout 15 \
42+
-o junit_suite_name="${{github.job}}" \
43+
tests/unit
44+
45+
- uses: ./.github/actions/report
3846
with:
39-
default_tests: "tests/unit"
40-
codecov_static_token: ${{ secrets.CODECOV_STATIC_TOKEN }}
47+
flag: unit-tests
4148
codecov_token: ${{ secrets.CODECOV_TOKEN }}
42-
collect_args: "--timeout 15"
43-
codecov_flags: unit-tests
4449

4550
codemod-tests:
4651
needs: access-check

src/codegen/extensions/tools/create_file.py

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def create_file(codebase: Codebase, filepath: str, content: str) -> CreateFileOb
4545
filepath=filepath,
4646
content="",
4747
line_count=0,
48+
raw_content="",
4849
),
4950
)
5051

@@ -72,5 +73,6 @@ def create_file(codebase: Codebase, filepath: str, content: str) -> CreateFileOb
7273
filepath=filepath,
7374
content="",
7475
line_count=0,
76+
raw_content="",
7577
),
7678
)

src/codegen/extensions/tools/view_file.py

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ def view_file(
133133
Ensure that this is indeed the correct filepath, else keep searching to find the correct fullpath.""",
134134
filepath=filepath,
135135
content="",
136+
raw_content="",
136137
line_count=0,
137138
start_line=start_line,
138139
end_line=end_line,

0 commit comments

Comments
 (0)