Skip to content

add self test

add self test #10

Workflow file for this run

name: self-test
on:
push:
branches: [main, test-me-*]
tags: '*'
pull_request:
jobs:
env:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: asottile/workflows/.github/actions/[email protected]
- uses: ./.github/actions/env/action.yml
with:
ref: main
coverage:
runs-on: ubuntu-latest
steps:
- uses: asottile/workflows/.github/actions/[email protected]
- uses: ./.github/actions/coverage/actions.yml
with:
ref: main
tests:
runs-on: ubuntu-latest
steps:
- uses: asottile/workflows/.github/actions/[email protected]
- uses: ./.github/actions/tests/actions.yml
with:
ref: main
workflow-tests:
runs-on: ubuntu-latest
steps:
- uses: asottile/workflows/.github/actions/[email protected]
- 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/[email protected]
- uses: ./.github/workflows/coverage.yml
with:
ref: main
workflow-typing:
runs-on: ubuntu-latest
steps:
- uses: asottile/workflows/.github/actions/[email protected]
- uses: ./.github/workflows/typing.yml
with:
ref: main
workflow-docs:
runs-on: ubuntu-latest
steps:
- uses: asottile/workflows/.github/actions/[email protected]
- uses: ./.github/workflows/docs.yml
with:
ref: main