This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
Bump actions/checkout from 3 to 4 (#36) #256
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: General checks | |
on: | |
push: | |
branches: [main, "release/*"] | |
pull_request: | |
branches: [main, "release/*"] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} | |
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }} | |
jobs: | |
#check-code: | |
# uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
# with: | |
# actions-ref: v0.7.1 | |
check-schema: | |
uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
with: | |
azure-dir: ".azure" | |
# Todo: seems not compatible with latest pip 23.0+ | |
# check-package: | |
# uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
# with: | |
# actions-ref: v0.7.1 | |
# import-name: "lightning_horovod" | |
# artifact-name: dist-packages-${{ github.sha }} | |
# testing-matrix: | | |
# { | |
# "os": ["ubuntu-20.04", "macos-11"], | |
# "python-version": ["3.8"] | |
# } | |
# check-docs: | |
# uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
# with: | |
# requirements-file: "docs/requirements.txt" | |
# env-vars: | | |
# { | |
# "HOROVOD_BUILD_ARCH_FLAGS": "-mfma", | |
# "HOROVOD_WITHOUT_MXNET": 1, | |
# "HOROVOD_WITHOUT_TENSORFLOW": 1, | |
# } |