Skip to content

Commit

Permalink
Try creating reusable_workflows folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Bandish Shah committed Feb 17, 2023
1 parent ca0cde2 commit 53b3511
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions .github/workflows/pr-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }}
jobs:
pytest-cpu:
uses: ./.github/workflows/pytest-cpu.yaml
uses: ./.github/reusable_workflows/pytest-cpu.yaml
strategy:
matrix:
include:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
pytest-markers: ${{ matrix.markers }}
python-version: 3.9
coverage:
uses: ./.github/workflows/coverage.yaml
uses: ./.github/reusable_workflows/coverage.yaml
name: Coverage Results
if: github.repository_owner == 'mosaicml'
needs: [ pytest-cpu ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
echo $BUILD_MATRIX >> $GITHUB_OUTPUT
stage-docker-build:
needs: build-image-matrix
uses: ./.github/workflows/docker-configure-build-push.yaml
uses: ./.github/reusable_workflows/docker-configure-build-push.yaml
strategy:
fail-fast: true
matrix: ${{ fromJSON(needs.build-image-matrix.outputs.matrix) }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/dev' }}
jobs:
pytest-gpu:
uses: ./.github/workflows/pytest-gpu.yaml
uses: ./.github/reusable_workflows/pytest-gpu.yaml
strategy:
matrix:
include:
Expand Down

0 comments on commit 53b3511

Please sign in to comment.