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
2 changes: 0 additions & 2 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# .github/release.yml

changelog:
categories:
- title: BREAKING CHANGES! 🚨
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ permissions:
contents: read

jobs:
build-wheels:
name: Build wheels on ${{ matrix.os }}
build:
name: Build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
git fetch --depth=1 origin +refs/tags/*:refs/tags/*

# TODO: add cbuildwheel cache
- name: Build wheels
- name: Build wheel
uses: pypa/[email protected]
env:
HATCH_BUILD_HOOKS_ENABLE: true
Expand All @@ -59,7 +59,7 @@ jobs:

release:
if: startsWith(github.ref, 'refs/tags/')
needs: build-wheels
needs: build
runs-on: ubuntu-latest
environment: release
steps:
Expand Down
25 changes: 14 additions & 11 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,21 @@ jobs:
fetch-depth: 0
- name: Setup backend
uses: ./.github/actions/setup-backend
- name: Run ATS and Tests
uses: ./.github/actions/run_ats
timeout-minutes: 15
with:
default_tests: "tests/unit"
codecov_static_token: ${{ secrets.CODECOV_STATIC_TOKEN }}
codecov_token: ${{ secrets.CODECOV_TOKEN }}
collect_args: "--timeout 15"
codecov_flags: unit-tests
- name: Test with pytest
timeout-minutes: 6
run: |
uv run pytest --cov \
-o junit_suite_name="${{github.job}}" \
-n auto \
-vv \
--cov \
--cov-append \
--timeout 50 \
--cov-report=xml \
tests/unit
codemod-tests:
# changing the following value will significantly affect github's cost. Be careful and consult with the team before changing it.
# TODO: re-enable when this check is a develop required check
if: false
runs-on: ubuntu-latest-32
strategy:
matrix:
Expand Down Expand Up @@ -93,7 +97,6 @@ jobs:
# GITHUB_WORKSPACE: $GITHUB_WORKSPACE

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