Skip to content

Commit cf9b3f2

Browse files
author
spencer@primus
committed
Update workflow actions to separate repo
1 parent f802180 commit cf9b3f2

5 files changed

Lines changed: 19 additions & 67 deletions

File tree

.github/workflows/publish_to_test_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
# the tests must pass before release is to be made
1414
# test:
1515
# name: Run unit tests on release branch
16-
# uses: ./.github/workflows/test_on_branch.yml
16+
# uses: avstack-lab/workflows/.github/workflows/test_on_branch_with_uv.yml@main
1717
# with:
1818
# branch: release
1919
# os: ubuntu-22.04

.github/workflows/test_on_branch.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/test_on_main.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/test_on_workflows.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/unit_test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Run tests on a branch when pushed or PR'd
2+
3+
env:
4+
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
5+
6+
on:
7+
push:
8+
branches: [ main, workflows ]
9+
pull_request:
10+
branches: [ main, workflows ]
11+
12+
jobs:
13+
call_tester:
14+
name: Run unit tests on $BRANCH_NAME branch
15+
uses: avstack-lab/workflows/.github/workflows/test_on_branch_with_uv@main
16+
with:
17+
branch: $BRANCH_NAME
18+
os: ubuntu-22.04

0 commit comments

Comments
 (0)