Skip to content

Commit

Permalink
[Misc]: Push test
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshiotomakan committed Mar 5, 2024
1 parent c0cf03f commit 3ab054d
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
build:
runs-on: macos-latest-large
if: github.event.pull_request.draft == false
if: false
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codegen-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
test:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
if: false
steps:
- uses: actions/checkout@v3
- name: Install system dependencies
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: false
steps:
- uses: actions/checkout@v3
- name: Lint Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
build:
runs-on: macos-latest-xlarge
if: github.event.pull_request.draft == false
if: false
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kotlin-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
build:
runs-on: macos-latest-xlarge
if: github.event.pull_request.draft == false
if: false
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kotlin-sample-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
build:
runs-on: macos-latest-xlarge
if: github.event.pull_request.draft == false
if: false
steps:
- uses: actions/checkout@v3

Expand Down
21 changes: 19 additions & 2 deletions .github/workflows/linux-ci-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
contents: read
checks: write
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
if: false
steps:
- uses: actions/checkout@v3
- name: Install system dependencies
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
# Run Rust tests in WASM.
test-wasm:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
if: false
steps:
- uses: actions/checkout@v3
- name: Install system dependencies
Expand All @@ -100,3 +100,20 @@ jobs:

- name: Run tests in WASM
run: tools/rust-test wasm

check-binary-sizes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create a dummy artifact
run: |
mkdir tmp
cp registry.json tmp/artifact.txt
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
# ---------- this runs sizewatcher ------------
- run: npx @adobe/sizewatcher
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/linux-ci-sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
build:
if: github.event.pull_request.draft == false && github.event.pull_request.head.repo.fork == false
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
if: false
steps:
# Work around https://github.com/actions/runner-images/issues/8659
- name: Remove GCC 13 from runner image
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-sampleapp-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
if: false
steps:
# Work around https://github.com/actions/runner-images/issues/8659
- name: Remove GCC 13 from runner image
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasm-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
if: false
steps:
- uses: actions/checkout@v3

Expand Down
25 changes: 25 additions & 0 deletions .sizewatcher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# global thresholds when to warn or fail a build
# note that one failing or warning comparator is enough to fail or warn
# can be either
# - percentage: "50%" ("-10%" for size decrease)
# - absolute limit, as byte string: "10 MB", "5 KB"
# see https://www.npmjs.com/package/xbytes
# - absolute limit, as byte number: 1000000
limits:
# when to fail - default: 100%
fail: 50%
# when to warn - default: 30%
warn: 10%
# below the ok limit you will get a cheers for making it notably smaller
# default: -10%
ok: -5%

# configure individual comparators
# see list below for available comparators - use exact names as yaml keys
# by default all comparators run if they detect their content is present
comparators:
git: false

custom:
- name: My artifact
path: tmp/artifact.txt

0 comments on commit 3ab054d

Please sign in to comment.