FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[repo-helper] Configuration Update (#71) ยท python-formate/flake8-github-actions@e3b40a8 ยท GitHub

[repo-helper] Configuration Update (#71) #295

[repo-helper] Configuration Update (#71)

[repo-helper] Configuration Update (#71) #295

Workflow file for this run

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
# This file is managed by 'repo_helper'. Don't edit it directly.
---
name: Windows
on:
push:
branches-ignore:
- 'repo-helper-update'
- 'pre-commit-ci-update-config'
- 'imgbot'
pull_request:
jobs:
tests:
permissions:
actions: write
contents: read
name: "windows-2022 / Python ${{ matrix.config.python-version }}"
runs-on: "windows-2022"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7,pypy-3.8,pypy-3.9'
strategy:
fail-fast: False
matrix:
config:
- {python-version: "3.7", testenvs: "py37-flake8{4,5},build", experimental: False}
- {python-version: "3.8", testenvs: "py38-flake8{4,5,6,7},build", experimental: False}
- {python-version: "3.9", testenvs: "py39-flake8{4,5,6,7},build", experimental: False}
- {python-version: "3.10", testenvs: "py310-flake8{4,5,6,7},build", experimental: False}
- {python-version: "3.11", testenvs: "py311-flake8{4,5,6,7},build", experimental: False}
- {python-version: "3.12", testenvs: "py312-flake8{6,7},build", experimental: False}
- {python-version: "3.13", testenvs: "py313-flake8{6,7},build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37-flake8{4,5},build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38-flake8{4,5,6,7}", experimental: False}
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39-flake8{4,5,6,7}", experimental: True}
steps:
- name: Checkout ๐Ÿ›Ž๏ธ
uses: "actions/checkout@v4"
- name: Check for changed files
if: startsWith(github.ref, 'refs/tags/') != true
uses: dorny/paths-filter@v2
id: changes
with:
list-files: "json"
filters: |
code:
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
- name: Setup Python ๐Ÿ
id: setup-python
if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }}
uses: "actions/setup-python@v5"
with:
python-version: "${{ matrix.config.python-version }}"
- name: Install dependencies ๐Ÿ”ง
if: steps.setup-python.outcome == 'success'
run: |
python -VV
python -m site
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
if: steps.setup-python.outcome == 'success'
run: python -m tox -e "${{ matrix.config.testenvs }}" -s false
- name: "Upload Coverage ๐Ÿš€"
uses: actions/upload-artifact@v4
if: ${{ always() && steps.setup-python.outcome == 'success' }}
with:
name: "coverage-${{ matrix.config.python-version }}"
path: .coverage
include-hidden-files: true

Back | FazBrowse Home | New Git URL