File tree Expand file tree Collapse file tree 3 files changed +18
-17
lines changed
Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 1- # .github/release.yml
2-
31changelog :
42 categories :
53 - title : BREAKING CHANGES! 🚨
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ permissions:
1515 contents : read
1616
1717jobs :
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
4949 git fetch --depth=1 origin +refs/tags/*:refs/tags/*
5050
5151 # TODO: add cbuildwheel cache
52- - name : Build wheels
52+ - name : Build wheel
53535454 env :
5555 HATCH_BUILD_HOOKS_ENABLE : true
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 :
Original file line number Diff line number Diff 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 :
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
You can’t perform that action at this time.
0 commit comments