Skip to content

Commit

Permalink
Limit install-briefcase action testing to post v0.3.16
Browse files Browse the repository at this point in the history
  • Loading branch information
rmartin16 committed Dec 5, 2023
1 parent f52e45e commit c3c299b
Showing 1 changed file with 24 additions and 31 deletions.
55 changes: 24 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
version: v0.3.1

test-install-briefcase:
# TODO: restore commented tests once Briefcase v0.3.17 is released
name: Install Briefcase
needs: pre-commit
runs-on: ubuntu-latest
Expand All @@ -52,61 +53,53 @@ jobs:
fail-fast: false
matrix:
test-case:
- "v0.3.12"
- "main"
- "PR Repo & Ref"
- "PR Repo & Ref (irregular)"
- "PR Ref"
- "refs/tags/v0.3.11"
#- "PR Ref"
#- "refs/tags/v0.3.17"
- "refs/tags/v40.0.5"
- "refs/heads/v0.3.10"
#- "refs/heads/v0.3.17"
- "refs/heads/v40.0.5"
- "refs/pull/v0.3.9"
#- "refs/pull/v0.3.17"
- "refs/pull/v40.0.5"
include:
# Test override logic
- test-case: "v0.3.12"
version: "v0.3.12"
expected: "v0.3.12"
- test-case: "main"
version: "main"
expected: "main"
# Test PR body override
- test-case: "PR Repo & Ref"
testing-pr-body: "sadf asdf BRIEFCASE_REPO: https://github.com/freakboy3742/briefcase.git xcvbwer BRIEFCASE_REF: 3470d95 xczvb https://example.com/asdf?q=repo%3Aindygreg%2"
expected: "3470d95"
testing-pr-body: "sadf asdf BRIEFCASE_REPO: https://github.com/freakboy3742/briefcase.git xcvbwer BRIEFCASE_REF: 19215d9 xczvb https://example.com/asdf?q=repo%3Aindygreg%2"
expected: "19215d9"
- test-case: "PR Repo & Ref (irregular)"
testing-pr-body: "sadf asdf BrIeFcAsE__REpo: https://github.com/freakboy3742/briefcase.git xcvbwer BRIEFcaseREF:3470d95 xczvb https://example.com/asdf?q=repo%3Aindygreg%2"
expected: "3470d95"
- test-case: "PR Ref"
testing-pr-body: "sadf asdf BRIEFcaseREF: v0.3.12"
expected: "v0.3.12"
testing-pr-body: "sadf asdf BrIeFcAsE__REpo: https://github.com/freakboy3742/briefcase.git xcvbwer BRIEFcaseREF:19215d9 xczvb https://example.com/asdf?q=repo%3Aindygreg%2"
expected: "19215d9"
#- test-case: "PR Ref"
# testing-pr-body: "sadf asdf BRIEFcaseREF: v0.3.17"
# expected: "v0.3.17"
# Test version derivation for Releases
- test-case: "refs/tags/v0.3.11"
testing-trigger-ref: "refs/tags/v0.3.11"
testing-ref-name: "v0.3.11"
expected: "v0.3.11"
#- test-case: "refs/tags/v0.3.17"
# testing-trigger-ref: "refs/tags/v0.3.17"
# testing-ref-name: "v0.3.17"
# expected: "v0.3.11"
- test-case: "refs/tags/v40.0.5"
testing-trigger-ref: "refs/tags/v40.0.5"
testing-ref-name: "v40.0.5"
expected: "main"
- test-case: "refs/heads/v0.3.10"
testing-trigger-ref: "refs/heads/v0.3.10"
testing-ref-name: "v0.3.10"
expected: "v0.3.10"
#- test-case: "refs/heads/v0.3.17"
# testing-trigger-ref: "refs/heads/v0.3.17"
# testing-ref-name: "v0.3.17"
# expected: "v0.3.17"
- test-case: "refs/heads/v40.0.5"
testing-trigger-ref: "refs/heads/v40.0.5"
testing-ref-name: "v40.0.5"
expected: "main"
# Test version derivation for PRs
- test-case: "refs/pull/v0.3.9"
testing-trigger-ref: "refs/pull/18/merge"
testing-pr-ref: "refs/heads/v0.3.9"
expected: "v0.3.9"
- test-case: "refs/pull/v0.3.9"
testing-trigger-ref: "refs/pull/20/merge"
testing-pr-ref: "v0.3.9"
expected: "v0.3.9"
#- test-case: "refs/pull/v0.3.17"
# testing-trigger-ref: "refs/pull/18/merge"
# testing-pr-ref: "refs/heads/v0.3.17"
# expected: "v0.3.17"
- test-case: "refs/pull/v40.0.5"
testing-trigger-ref: "refs/pull/25/merge"
testing-pr-ref: "v40.0.5"
Expand Down

0 comments on commit c3c299b

Please sign in to comment.