Skip to content

Commit

Permalink
Use testing repo actions
Browse files Browse the repository at this point in the history
  • Loading branch information
b-chu committed Feb 1, 2024
1 parent 7fdce54 commit 90ffbac
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/pr-code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }}
jobs:
code-quality:
uses: ./.github/workflows/code-quality.yaml
runs-on: ubuntu-20.04
timeout-minutes: 15
strategy:
matrix:
python_version:
Expand All @@ -23,6 +24,27 @@ jobs:
- "3.11"
pip_deps:
- "[dev]"
with:
python_version: ${{ matrix.python_version }}
pip_deps: ${{ matrix.pip_deps }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout for copy
uses: actions/checkout@v3
with:
path: composer
- name: Get Repo Token
id: REPO_TOKEN
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.DEVOGE_BOT_APPID }}
private_key: ${{ secrets.DEVOGE_BOT_PEM }}
- name: Get composite run steps repository
uses: actions/checkout@v3
with:
repository: mosaicml/testing
ref: cicd
path: ./testing
token: ${{ steps.REPO_TOKEN.outputs.token }}
- uses: ./testing/.github/actions/code-quality
with:
python_version: ${{ matrix.python_version }}
pip_deps: ${{ matrix.pip_deps }}

0 comments on commit 90ffbac

Please sign in to comment.