Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tech: Configure CI triggers #12

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 9 additions & 11 deletions .github/workflows/branch.yml → .github/workflows/branch_pr.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: "Build and Test"

on:
pull_request:
branches:
- main
types:
- opened
- closed
- synchronize

push:
branches:
- 'chore/**'
- 'docs/**'
- 'feat/**'
- 'feature/**'
- 'fix/**'
- 'refactor/**'
- 'releases/**'
- 'style/**'
- 'test/**'
- 'tech/**'
- 'ci-test/**'

env:
RUST_TARGET_PATH: pact-reference/rust/target
Expand Down Expand Up @@ -54,7 +53,6 @@ jobs:
binaries-path: ${{ needs.sharedInputs.outputs.binaries-path }}
cache-key: ${{ needs.sharedInputs.outputs.cache-key }}
cache-restore-key: ${{ needs.sharedInputs.outputs.cache-restore-key }}
submit-coverage-report: false

testMacOS13:
name: "🤖 Unit tests"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_rust_binaries.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Build"
name: "Build rust FFI"

on:
workflow_call:
Expand Down
48 changes: 0 additions & 48 deletions .github/workflows/pr.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test_macos13_x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "On macOS 13 (intel)"
name: "Test on macOS 13 (intel)"

on:
workflow_call:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/test_macos14_arm64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "On macOS 14 (latest)"
name: "Test on macOS 14 (latest)"

on:
workflow_call:
Expand All @@ -15,9 +15,6 @@ on:
cache-restore-key:
required: true
type: string
submit-coverage-report:
required: true
type: boolean
secrets:
codecov_token:
required: true
Expand All @@ -37,7 +34,6 @@ jobs:
submit_code_coverage: true
- scheme: "PactSwiftMockServer-macOS"
destination: "arch=arm64"
submit_code_coverage: true

env:
SCHEME: ${{ matrix.scheme }}
Expand Down Expand Up @@ -72,7 +68,7 @@ jobs:
sh Support/build_test

- name: "⬆️ Upload coverage reports"
if: ${{ matrix.submit_code_coverage && inputs.submit-coverage-report }}
if: ${{ matrix.submit_code_coverage }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.codecov_token }}
Expand Down
Loading