Skip to content

Commit

Permalink
Merge pull request #23 from mattip/pytest-html2
Browse files Browse the repository at this point in the history
fix duplicate name stanza
  • Loading branch information
mattip authored Jul 28, 2022
2 parents 59ec439 + ac633fd commit b3b7fdb
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/pytest-html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,39 +27,33 @@ jobs:
matrix:
include:
- os: ubuntu-latest
name: py38-ubuntu
python-version: 3.8
name: pypy3-ubuntu
python-version: pypy-3.8

- os: windows-latest
name: py38-windows
python-version: 3.8
name: pypy3-windows
python-version: pypy-3.8

- os: ubuntu-latest
name: pypy3-ubuntu
python-version: pypy3.8-nightly
name: pypy3-nightly-ubuntu
python-version: pypy-3.8-nightly

- os: windows-latest
name: pypy3-windows
python-version: pypy3.8
name: pypy3-nightly-windows
python-version: pypy-3.8-nightly

steps:
- name: Set Newline Behavior
run : git config --global core.autocrlf false
- uses: actions/checkout@v3

- uses: actions/checkout@v3
with:
fetch-depth: 1
repository: pytest-dev/pytest-html
path: repo

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix['python-version'] }}

- name: Install tox
run: python -m pip install --upgrade tox
run: python -m pip install --upgrade pip tox wheel "setuptools==56.0"

- name: Get Tox Environment Name From Matrix Name
uses: rishabhgupta/split-by@v1
Expand All @@ -69,5 +63,8 @@ jobs:
split-by: '-'

- name: Test with tox
run: cd repo && python -m tox -e ${{ steps.split-matrix-name.outputs._0}}-cov
run: |
echo PWD $PWD
mkdir -p .tox/dist
python -m tox -e ${{ steps.split-matrix-name.outputs._0}}-cov

0 comments on commit b3b7fdb

Please sign in to comment.