name: Linting on: push: branches: - master pull_request: jobs: flake8: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 with: python-version: 3.9 - name: Install dependencies run: | pip install flake8 - name: Run linting run: | flake8 . pyroma: runs-on: ubuntu-latest strategy: matrix: torch-version: [1.13.0] steps: - uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 with: python-version: 3.9 - name: Install PyTorch ${{ matrix.torch-version }} run: | pip install --extra-index-url torch==${{ matrix.torch-version }} -f https://download.pytorch.org/whl/cpu - name: Install dependencies run: | pip install pyroma - name: Check package metadata run: | pyroma --min=10 .