Skip to content

Commit

Permalink
ci: using general checks (#1009)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
Borda and pre-commit-ci[bot] authored May 18, 2023
1 parent 424b93b commit 0a6955e
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 98 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: General Checks

on:
push:
branches: [master, "release/*"]
pull_request:
branches: [master, "release/*"]

jobs:
check-schema:
uses: Lightning-AI/utilities/.github/workflows/[email protected]
with:
azure-dir: ".azure"

check-code:
uses: Lightning-AI/utilities/.github/workflows/[email protected]
with:
actions-ref: v0.8.0
extra-typing: typing

check-package:
uses: Lightning-AI/utilities/.github/workflows/[email protected]
with:
actions-ref: v0.8.0
artifact-name: dist-packages-${{ github.sha }}
import-name: "pl_bolts"
testing-matrix: |
{
"os": ["ubuntu-20.04", "macos-11", "windows-2022"],
"python-version": ["3.8"]
}
55 changes: 0 additions & 55 deletions .github/workflows/ci-install-pkg.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/ci-schema.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/code-format.yml

This file was deleted.

2 changes: 0 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
pytest >7.0.0, <=7.3.1
pytest-cov >=3.0.0, <4.0.0
# pytest-flake8
check-manifest
atari-py ==0.2.9 # needed for RL
scikit-learn >=1.0.2, <=1.2.2
sparseml >1.0.0, <=1.2.0
ale-py >=0.7, <=0.8.1
jsonargparse[signatures] >4.0.0 # for LightningCLI
mypy ==1.3.0
1 change: 1 addition & 0 deletions requirements/typing.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mypy ==1.3.0

0 comments on commit 0a6955e

Please sign in to comment.