Skip to content

Commit

Permalink
Add reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BeyondEvil committed Jan 17, 2022
1 parent f886124 commit 04fee8c
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ jobs:
- os: windows-latest
name: pypy3-windows
python-version: pypy3

- os: macOS-latest
name: pypy3-mac
python-version: pypy3
# https://github.com/pytest-dev/pytest-html/issues/482
# - os: macOS-latest
# name: pypy3-mac
# python-version: pypy3

- os: ubuntu-latest
name: devel-ubuntu
python-version: 3.8
python-version: 3.9

steps:
- name: Set Newline Behavior
Expand All @@ -92,15 +92,16 @@ jobs:
split-by: '-'
- name: Test with tox
run: python -m tox -e ${{ steps.split-matrix-name.outputs._0}}-cov
- name: Upload coverage to codecov
if: github.event.schedule == ''
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true
file: ./coverage.xml
flags: tests
name: ${{ matrix.py }} - ${{ matrix.os }}
verbose: true
# TODO: https://github.com/pytest-dev/pytest-html/issues/481
# - name: Upload coverage to codecov
# if: github.event.schedule == ''
# uses: codecov/codecov-action@v2
# with:
# fail_ci_if_error: true
# file: ./coverage.xml
# flags: tests
# name: ${{ matrix.py }} - ${{ matrix.os }}
# verbose: true

test_javascript:
name: grunt
Expand Down

0 comments on commit 04fee8c

Please sign in to comment.