Skip to content

Commit 18e384b

Browse files
committed
trigger CI on push commits for easy debug
1 parent 1513670 commit 18e384b

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/arm-cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ jobs:
4848
- name: Build and test pip wheel
4949
shell: bash
5050
run: |
51-
tf_project_name=$((${{ github.event_name == 'schedule' }} ? 'tf_nightly_cpu_aws' : 'tensorflow_cpu_aws' )) && \
51+
tf_project_name='tensorflow_cpu_aws' && ${{ github.event_name == 'schedule' }} && tf_project_name='tf_nightly_cpu_aws'
52+
echo "PyPI project name:" $tf_project_name
5253
CI_DOCKER_BUILD_EXTRA_PARAMS='--build-arg py_major_minor_version=${{ matrix.pyver }} --build-arg pypi_project_name=${tf_project_name}' \
5354
./tensorflow/tools/ci_build/ci_build.sh cpu.arm64 bash tensorflow/tools/ci_build/rel/ubuntu/cpu_arm64_pip.sh
5455
- name: Upload pip wheel to PyPI

.github/workflows/arm-ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
name: ARM CI
1717

1818
on:
19+
push:
20+
branches:
21+
- master
22+
- r2.**
1923
pull_request:
2024
types: [opened, synchronize, reopened]
2125
branches:
@@ -27,7 +31,7 @@ jobs:
2731
runs-on: [self-hosted, linux, ARM64]
2832
strategy:
2933
matrix:
30-
pyver: ['3.7', '3.8', '3.9', '3.10']
34+
pyver: ['3.10']
3135
steps:
3236
- name: Stop old running containers (if any)
3337
shell: bash

0 commit comments

Comments
 (0)