Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
3d1755a
Update test-pytest.yml
JamesonRGrieve Jun 4, 2025
00a073a
Update test-pytest.yml
JamesonRGrieve Jun 4, 2025
18c9120
Update test-pytest.yml
JamesonRGrieve Jun 4, 2025
a760433
Update test-pytest.yml
JamesonRGrieve Jun 4, 2025
820063a
Silent;
JamesonRGrieve Jun 4, 2025
3ba8bc6
Silent;
JamesonRGrieve Jun 4, 2025
ac1a105
Quiet;
JamesonRGrieve Jun 4, 2025
e585ed7
Quieter;
JamesonRGrieve Jun 4, 2025
e2d8258
Remove old pytest workflow; Add usage;
JamesonRGrieve Jun 11, 2025
c231dc2
Revert pytest;
JamesonRGrieve Jun 11, 2025
4ce4de3
Update regression script;
JamesonRGrieve Jun 11, 2025
97bb781
Update regression script;
JamesonRGrieve Jun 11, 2025
e72ad09
Update regression script;
JamesonRGrieve Jun 11, 2025
1234323
Update regression script;
JamesonRGrieve Jun 11, 2025
eda5d63
Update regression script;
JamesonRGrieve Jun 11, 2025
86bb996
Update regression script;
JamesonRGrieve Jun 11, 2025
3f35bb3
Update regression script with pass-to-gone and fail-to-gone;
JamesonRGrieve Jun 11, 2025
051f154
Update regression script with pass-to-gone and fail-to-gone;
JamesonRGrieve Jun 11, 2025
32bbe0a
Fix dupe artifacts;
JamesonRGrieve Jun 11, 2025
2b4dd80
Fix dupe artifacts;
JamesonRGrieve Jun 11, 2025
3999586
Fix Discord;
JamesonRGrieve Jun 11, 2025
69eeca1
Hopefully fix gone tests;
JamesonRGrieve Jun 12, 2025
32c0124
Fix passing tests;
JamesonRGrieve Jun 12, 2025
a9c30f8
Fix passing tests;
JamesonRGrieve Jun 12, 2025
76d5153
Discord file upload - maybe;
JamesonRGrieve Jun 12, 2025
46e199a
Fix count; Maybe fix files;
JamesonRGrieve Jun 12, 2025
f2bd92b
Update build-next.yml
austinleblanc Jun 16, 2025
40351c0
Update build-next.yml
austinleblanc Jun 16, 2025
2ec6c56
modified the resuable workflow in lint,manage-submodules,test-downstr…
parull249 Jun 18, 2025
9e8668d
modified the resuable workflow in test-downstream.yml
parull249 Jun 18, 2025
cfd6b33
updated test-py-pytest.yml
parull249 Jun 20, 2025
dcd01df
updated test-py-pytest.yml
parull249 Jun 20, 2025
f39e941
Update test-py-pytest.yml
parull249 Jun 20, 2025
c18117d
Update test-py-pytest.yml
parull249 Jun 20, 2025
6f22831
Update test-py-pytest.yml
parull249 Jun 20, 2025
8b81341
add meta files, updated gh-projects-qa file
parull249 Jun 27, 2025
3b28845
Merge branch 'dev-fix' of github.com:JamesonRGrieve/Workflows into de…
parull249 Jun 27, 2025
7179a68
modified sync-meta.yml
parull249 Jun 27, 2025
43f535c
modified test-ts-lint.yml
parull249 Jun 27, 2025
943f608
modified workflow
parull249 Jun 28, 2025
54f597d
modified workflow
parull249 Jun 28, 2025
ace4704
modified workflow
parull249 Jun 28, 2025
d4b13c9
modified workflow
parull249 Jun 28, 2025
4c53d74
modified workflow
parull249 Jun 28, 2025
d5e6ff5
updated
parull249 Jun 28, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/build-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
default: "ubuntu-latest"
jobs:
lint:
uses: ./.github/workflows/test-lint-py.yml
uses: ./.github/workflows/test-py-lint.yml
permissions:
contents: write

Expand Down Expand Up @@ -51,6 +51,6 @@ jobs:
node-version: ${{ inputs.node-version }}
- run: |
npm i lightningcss-linux-x64-gnu @tailwindcss/oxide-linux-x64-gnu sass-embedded-linux-x64
npm ci
npm i
npm list zod --depth=0
npm run build
3 changes: 0 additions & 3 deletions .github/workflows/gh-projects-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Reusable - Set Q/A Status in Zephyrex Board

on:
workflow_call:
secrets:
GITHUB_TOKEN:
required: true

jobs:
qa-update-status:
Expand Down
34 changes: 9 additions & 25 deletions .github/workflows/meta-regression-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
ITEM_TYPE_SINGULAR_ENV: "${{ inputs.item_type_singular }}"
ITEM_TYPE_PLURAL_ENV: "${{ inputs.item_type_plural }}"
run: |
# Create debug file for detailed output
exec 3>&1 4>&2
exec 1> >(tee -a debug_regression_analysis.log) 2>&1

echo "Running regression analysis..."

python3 - <<'EOF'
Expand Down Expand Up @@ -159,9 +155,11 @@ jobs:
regression_items_list = sorted(list(target_passing_set.intersection(pr_failing_set)))

if regression_items_list:
print(f"Found {len(regression_items_list)} regression(s)!")
has_regressions_output = "true"
regression_count_output = len(regression_items_list)
print(f"Found {len(regression_items_list)} regression(s)!")
print("::error::Test Regressions Found!")
print(f"::error::{len(regression_items_list)} regression(s) detected. This job was intentionally failed.")
with open("regression_details.txt", "w") as f:
f.write(f"Found {len(regression_items_list)} {item_type_p} that were passing/clean in the target branch but are now failing/have issues in the PR branch:\n\n")
for idx, item in enumerate(regression_items_list, 1):
Expand Down Expand Up @@ -190,12 +188,9 @@ jobs:
print("::warning::GITHUB_OUTPUT environment variable not set.")
EOF

# Restore stdout/stderr for GitHub Actions
exec 1>&3 2>&4

echo "Regression analysis script completed."

# Only show regression summary in logs if regressions found
# Show regression summary in logs if regressions found
if [ -f "regression_details.txt" ]; then
REGRESSION_COUNT=$(grep -c "^[0-9]\+\." regression_details.txt || echo "0")
if [ "$REGRESSION_COUNT" -gt 0 ]; then
Expand All @@ -205,30 +200,19 @@ jobs:
fi
fi

- name: Upload debug logs
- name: Upload regression analysis results
if: always()
uses: actions/upload-artifact@v4
with:
name: regression_analysis_debug_logs_${{ inputs.pr_number || inputs.run_id }}
path: debug_regression_analysis.log
retention-days: 7
name: regression_analysis_results_${{ inputs.pr_number || inputs.run_id }}
path: |
regression_details.txt
retention-days: 3
if-no-files-found: ignore

- name: Fail job if regressions are found
if: steps.check-regressions-script.outputs.HAS_REGRESSIONS == 'true'
run: |
echo "Regressions detected. Failing the job as per configuration."
REGRESSION_COUNT_VAL=${{ steps.check-regressions-script.outputs.REGRESSION_COUNT }}
echo "### :x: Regressions Found!" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY # Newline
echo "**$REGRESSION_COUNT_VAL regression(s) detected.** This job was intentionally failed." >> $GITHUB_STEP_SUMMARY
echo "The 'Upload regression details artifact' step will still attempt to upload details." >> $GITHUB_STEP_SUMMARY
exit 1

- name: Upload regression details artifact
uses: actions/upload-artifact@v4
if: always()
with:
name: regression_details_pr_${{ inputs.pr_number || inputs.run_id }}_${{ inputs.item_type_plural }}
path: regression_details.txt
retention-days: 7
38 changes: 38 additions & 0 deletions .github/workflows/sync-meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Reusable Metadata Sync

on:
workflow_call:
inputs:
sync_labels:
required: false
type: boolean
default: true
runs_on:
required: false
type: string
default: "ubuntu-latest"

jobs:
sync:
runs-on: ${{ inputs.runs_on }}
steps:
- name: Checkout source repo (self)
uses: actions/checkout@v4
with:
repository: JamesonRGrieve/Workflows
token: ${{ secrets.GITHUB_TOKEN }}
path: source

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install dependencies
run: pip install requests

- name: Run Label Sync Script
if: ${{ inputs.sync_labels }}
run: |
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
python3 source/scripts/sync_labels.py
Loading