From 027a96b3485a7732b6e09fcd660db0f7aed1b4ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Gustavo=20A=2E=20Amorim?= Date: Thu, 25 Jan 2024 18:02:38 -0300 Subject: [PATCH] add workflows self tests --- .github/workflows/self-tests.yml | 42 ++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/.github/workflows/self-tests.yml b/.github/workflows/self-tests.yml index b4ce4fb..2bd551e 100644 --- a/.github/workflows/self-tests.yml +++ b/.github/workflows/self-tests.yml @@ -21,13 +21,51 @@ jobs: coverage: runs-on: ubuntu-latest steps: - - uses: kornia/workflows/.github/actions/coverage@v1.2.2 + - uses: asottile/workflows/.github/actions/fast-checkout@v1.6.0 + - uses: ./.github/actions/coverage/actions.yml with: ref: main tests: runs-on: ubuntu-latest steps: - - uses: kornia/workflows/.github/actions/tests@v1.2.2 + - uses: asottile/workflows/.github/actions/fast-checkout@v1.6.0 + - uses: ./.github/actions/tests/actions.yml + with: + ref: main + + workflow-tests: + runs-on: ubuntu-latest + steps: + - uses: asottile/workflows/.github/actions/fast-checkout@v1.6.0 + - uses: ./.github/workflows/tests.yml + with: + os: ubuntu-latest + python-version: '["3.10", "3.11"]' + pytorch-version: '["2.0.0", "2.1.2"]' + pytorch-dtype: 'float32' + ref: main + + workflow-coverage: + runs-on: ubuntu-latest + steps: + - uses: asottile/workflows/.github/actions/fast-checkout@v1.6.0 + - uses: ./.github/workflows/coverage.yml + with: + ref: main + + workflow-typing: + runs-on: ubuntu-latest + steps: + - uses: asottile/workflows/.github/actions/fast-checkout@v1.6.0 + - uses: ./.github/workflows/typing.yml + with: + ref: main + + workflow-docs: + runs-on: ubuntu-latest + steps: + - uses: asottile/workflows/.github/actions/fast-checkout@v1.6.0 + - uses: ./.github/workflows/docs.yml with: ref: main