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
-
3
1
changelog :
4
2
categories :
5
3
- title : BREAKING CHANGES! 🚨
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ permissions:
15
15
contents : read
16
16
17
17
jobs :
18
- build-wheels :
19
- name : Build wheels on ${{ matrix.os }}
18
+ build :
19
+ name : Build ${{ matrix.os }}
20
20
runs-on : ${{ matrix.os }}
21
21
strategy :
22
22
fail-fast : false
49
49
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
50
50
51
51
# TODO: add cbuildwheel cache
52
- - name : Build wheels
52
+ - name : Build wheel
53
53
54
54
env :
55
55
HATCH_BUILD_HOOKS_ENABLE : true
63
63
64
64
release :
65
65
if : startsWith(github.ref, 'refs/tags/')
66
- needs : build-wheels
66
+ needs : build
67
67
runs-on : ubuntu-latest
68
68
environment : release
69
69
steps :
Original file line number Diff line number Diff line change @@ -20,17 +20,21 @@ jobs:
20
20
fetch-depth : 0
21
21
- name : Setup backend
22
22
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
32
35
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
34
38
runs-on : ubuntu-latest-32
35
39
strategy :
36
40
matrix :
93
97
# GITHUB_WORKSPACE: $GITHUB_WORKSPACE
94
98
95
99
parse-tests :
96
- # changing the following value will significantly affect github's cost. Be careful and consult with the team before changing it.
97
100
runs-on : ubuntu-latest-32
98
101
if : contains(github.event.pull_request.labels.*.name, 'parse-tests') || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
99
102
environment : parse-tests
You can’t perform that action at this time.
0 commit comments