From fb91828c89bf0bb57b1946931caf5a28d77edc35 Mon Sep 17 00:00:00 2001 From: toonn Date: Sun, 18 Jul 2021 20:59:56 +0200 Subject: Actions: Separate pypy tests because they fail --- .github/workflows/pylint.yml | 2 +- .github/workflows/pypy.yml | 34 ++++++++++++++++++++++++++++++++++ .github/workflows/python.yml | 2 +- 3 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/pypy.yml (limited to '.github') diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index eb44669f..c922293b 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -16,7 +16,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [pypy3, 3.5, 3.6, 3.7, 3.8, 3.9] + python-version: [pypy3, 3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/pypy.yml b/.github/workflows/pypy.yml new file mode 100644 index 00000000..3d56e06c --- /dev/null +++ b/.github/workflows/pypy.yml @@ -0,0 +1,34 @@ +name: PEP8 and tests + +on: + push: + paths: + - '.github/workflows/python.yml' + - '**.py' + pull_request: + paths: + - '.github/workflows/python.yml' + - '**.py' + +jobs: + test_py: + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [pypy2, 2.7, pypy3, 3.5, 3.6, 3.7, 3.8, 3.9] + env: + TERM: dumb + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Flake8 and test + run: | + make test_flake8 test_pytest test_doctest test_other diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 3d56e06c..266c13de 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -16,7 +16,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [pypy2, 2.7, pypy3, 3.5, 3.6, 3.7, 3.8, 3.9] + python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9] env: TERM: dumb steps: -- cgit 1.4.1-2-gfad0