File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 9595 working-directory : tools/postgres
9696 run : |
9797 poetry install --no-interaction --no-ansi
98- poetry run pytest test_purge_ttl.py -v --junit-xml="../../workflow/test-results/${GITHUB_RUN_NUMBER}-${GITHUB_JOB}-utils_tests.xml"
98+ WORKFLOW=$(echo "${GITHUB_WORKFLOW}" | tr ' ' '-' | tr '[:upper:]' '[:lower:]')
99+ poetry run pytest test_purge_ttl.py -v --junit-xml="../../workflow/test-results/${GITHUB_RUN_NUMBER}__$(date +%s)__$(basename ${GITHUB_REPOSITORY})__${WORKFLOW}__postgres_utils__results.xml"
99100 env :
100101 SYNC_SYNCSTORAGE__DATABASE_URL : postgresql://test:test@127.0.0.1/syncstorage
101102
Original file line number Diff line number Diff line change @@ -25,10 +25,9 @@ SYNCSTORAGE_LOAD_TEST_DIR := $(TOOLS_DIR)/syncstorage-loadtest
2525RUST_LOG ?= debug
2626
2727# In order to be consumed by the ETE Test Metric Pipeline, files need to follow a strict naming
28- # convention: {job_number}__{utc_epoch_datetime}__{workflow}__{test_suite}__results{-index}.xml
29- # TODO: update workflow name appropriately
30- WORKFLOW := build-deploy
28+ # convention: {job_number}__{utc_epoch_datetime}__{repository}__{workflow}__{test_suite}__results{-index}.xml
3129EPOCH_TIME := $(shell date +"% s")
30+ WORKFLOW := $(shell echo "$(GITHUB_WORKFLOW ) " | tr ' ' '-' | tr '[:upper:]' '[:lower:]')
3231TEST_RESULTS_DIR ?= workflow/test-results
3332TEST_PROFILE := $(if $(or $(CIRCLECI ) ,$(GITHUB_ACTIONS ) ) ,ci,default)
3433TEST_FILE_PREFIX := $(if $(GITHUB_ACTIONS ) ,$(GITHUB_RUN_NUMBER ) __$(EPOCH_TIME ) __$(notdir $(GITHUB_REPOSITORY ) ) __$(WORKFLOW ) __)
You can’t perform that action at this time.
0 commit comments