Prevent dataset to break if already exists #81
Workflow file for this run
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-precommit: | |
uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
check-typing: | |
# TODO: switch to main after fix lends | |
uses: Lightning-AI/utilities/.github/workflows/check-typing.yml@ci/mypy-dir | |
with: | |
actions-ref: ci/mypy-dir | |
source-dir: "" | |
check-schema: | |
uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
with: | |
azure-dir: "" | |
check-package: | |
uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
with: | |
actions-ref: v0.10.1 | |
import-name: "lightning_data" | |
artifact-name: dist-packages-${{ github.sha }} | |
testing-matrix: | | |
{ | |
"os": ["ubuntu-latest", "macos-latest", "windows-latest"], | |
"python-version": ["3.8", "3.10"] | |
} | |
check-docs: | |
uses: Lightning-AI/utilities/.github/workflows/[email protected] | |
with: | |
requirements-file: "requirements/docs.txt" |