diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml deleted file mode 100644 index 75e70676..00000000 --- a/.github/workflows/python.yml +++ /dev/null @@ -1,35 +0,0 @@ -# https://beta.ruff.rs -name: python -on: - push: - branches: [master] - pull_request: - branches: [master] -jobs: - ruff: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: pip install --user ruff - - run: ruff --format=github --ignore=F401 --target-version=py38 . - pytest: - strategy: - fail-fast: false - matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - run: pip install pytest pytest-cov -r requirements.txt - - run: pytest --cov=webssh - - run: mkdir -p coverage - - uses: tj-actions/coverage-badge-py@v2 - with: - output: coverage/coverage.svg - - uses: JamesIves/github-pages-deploy-action@v4 - with: - branch: coverage-badge - folder: coverage