Skip to content

Commit

Permalink
adding new ci for m1
Browse files Browse the repository at this point in the history
  • Loading branch information
udaij12 committed Feb 8, 2024
1 parent 7c4559c commit bccd1e9
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/regression_tests_cpu_m1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Run Regression Tests on CPU

on:
push:
branches:
- M1_changes
pull_request:
branches:
- M1_changes
merge_group:

concurrency:
group: ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
cancel-in-progress: true

jobs:
regression-cpu:
# creates workflows for OS: ubuntu, macOS
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14]
steps:
- name: Setup Python 3.8
uses: actions/setup-python@v3
with:
python-version: 3.8
architecture: x64
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Checkout TorchServe
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: |
python ts_scripts/install_dependencies.py --environment=dev
- name: Torchserve sanity test
run: |
python torchserve_sanity.py
- name: Torchserve Regression Tests
run: |
python test/regression_tests.py

0 comments on commit bccd1e9

Please sign in to comment.