mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
bump coverage threshold + use ubuntu for snapshot builds
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
This commit is contained in:
parent
e3b1522394
commit
77e4c89a5a
2
.github/workflows/validations.yaml
vendored
2
.github/workflows/validations.yaml
vendored
@ -240,7 +240,7 @@ jobs:
|
|||||||
|
|
||||||
Build-Snapshot-Artifacts:
|
Build-Snapshot-Artifacts:
|
||||||
name: "Build snapshot artifacts"
|
name: "Build snapshot artifacts"
|
||||||
runs-on: macos-latest # We're creating these snapshot builds on macOS to be consistent with our release workflow's build process, which also takes place on macOS (due to code signing requirements).
|
runs-on: ubuntu-20.04
|
||||||
# run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
|
# run only on push event (internal PRs) or on a pull_request event that is from a fork (external PR)
|
||||||
# skip if this is a pull_request event on an internal PR (which is already covered by push events)
|
# skip if this is a pull_request event on an internal PR (which is already covered by push events)
|
||||||
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -15,7 +15,7 @@ RESET := $(shell tput -T linux sgr0)
|
|||||||
TITLE := $(BOLD)$(PURPLE)
|
TITLE := $(BOLD)$(PURPLE)
|
||||||
SUCCESS := $(BOLD)$(GREEN)
|
SUCCESS := $(BOLD)$(GREEN)
|
||||||
# the quality gate lower threshold for unit test total % coverage (by function statements)
|
# the quality gate lower threshold for unit test total % coverage (by function statements)
|
||||||
COVERAGE_THRESHOLD := 68
|
COVERAGE_THRESHOLD := 70
|
||||||
# CI cache busting values; change these if you want CI to not use previous stored cache
|
# CI cache busting values; change these if you want CI to not use previous stored cache
|
||||||
INTEGRATION_CACHE_BUSTER="23493ba738c3d2f"
|
INTEGRATION_CACHE_BUSTER="23493ba738c3d2f"
|
||||||
CLI_CACHE_BUSTER="789bacdf"
|
CLI_CACHE_BUSTER="789bacdf"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user