Skip to content

Commit 1a8196b

Browse files
chore: disable codemod tests for now (#301)
re-enable once they are ready to be a required check
1 parent b37ea4b commit 1a8196b

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

.github/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# .github/release.yml
2-
31
changelog:
42
categories:
53
- title: BREAKING CHANGES! 🚨

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ permissions:
1515
contents: read
1616

1717
jobs:
18-
build-wheels:
19-
name: Build wheels on ${{ matrix.os }}
18+
build:
19+
name: Build ${{ matrix.os }}
2020
runs-on: ${{ matrix.os }}
2121
strategy:
2222
fail-fast: false
@@ -49,7 +49,7 @@ jobs:
4949
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
5050
5151
# TODO: add cbuildwheel cache
52-
- name: Build wheels
52+
- name: Build wheel
5353
uses: pypa/[email protected]
5454
env:
5555
HATCH_BUILD_HOOKS_ENABLE: true
@@ -63,7 +63,7 @@ jobs:
6363

6464
release:
6565
if: startsWith(github.ref, 'refs/tags/')
66-
needs: build-wheels
66+
needs: build
6767
runs-on: ubuntu-latest
6868
environment: release
6969
steps:

.github/workflows/unit-tests.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,21 @@ jobs:
2020
fetch-depth: 0
2121
- name: Setup backend
2222
uses: ./.github/actions/setup-backend
23-
- name: Run ATS and Tests
24-
uses: ./.github/actions/run_ats
25-
timeout-minutes: 15
26-
with:
27-
default_tests: "tests/unit"
28-
codecov_static_token: ${{ secrets.CODECOV_STATIC_TOKEN }}
29-
codecov_token: ${{ secrets.CODECOV_TOKEN }}
30-
collect_args: "--timeout 15"
31-
codecov_flags: unit-tests
23+
- name: Test with pytest
24+
timeout-minutes: 6
25+
run: |
26+
uv run pytest --cov \
27+
-o junit_suite_name="${{github.job}}" \
28+
-n auto \
29+
-vv \
30+
--cov \
31+
--cov-append \
32+
--timeout 50 \
33+
--cov-report=xml \
34+
tests/unit
3235
codemod-tests:
33-
# changing the following value will significantly affect github's cost. Be careful and consult with the team before changing it.
36+
# TODO: re-enable when this check is a develop required check
37+
if: false
3438
runs-on: ubuntu-latest-32
3539
strategy:
3640
matrix:
@@ -93,7 +97,6 @@ jobs:
9397
# GITHUB_WORKSPACE: $GITHUB_WORKSPACE
9498

9599
parse-tests:
96-
# changing the following value will significantly affect github's cost. Be careful and consult with the team before changing it.
97100
runs-on: ubuntu-latest-32
98101
if: contains(github.event.pull_request.labels.*.name, 'parse-tests') || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
99102
environment: parse-tests

0 commit comments

Comments
 (0)