-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update next-gen with recent changes to master (#494)
* remove phantomjs dependency (#424) * properly classify all npm dependencies (#425) * Move the changelog to read the docs (#423) * split plugin.py into smaller files (#427) * Implement the visible URL query parameter to control visibility of test results on page load. (#433) * enable control of test result visability via query params * Allow for redacting of environment table values (#431) * Disable Codecov (#480) * Disable Codecov * Disable pypy3 on mac * Add Tests.yml reusable workflow (#484) * Use the tests reusable workflow (#486) * Migrate to precommit.ci (#487) * Separate Nightly workflow (#488) Co-authored-by: Gleb Nikonorov <gleb.i.nikonorov@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ff08751
commit ff7cc32
Showing
12 changed files
with
404 additions
and
164 deletions.
There are no files selected for viewing
This file contains 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 contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: Nightly tests | ||
|
||
on: | ||
schedule: | ||
- cron: '1 0 * * *' # Run daily at 0:01 UTC | ||
|
||
jobs: | ||
tests: | ||
uses: pytest-dev/pytest-html/.github/workflows/tests.yml@master |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
name: Tests | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
test_python: | ||
name: ${{ matrix.name }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
include: | ||
- os: ubuntu-latest | ||
name: py36-ubuntu | ||
python-version: 3.6 | ||
|
||
- os: windows-latest | ||
name: py36-windows | ||
python-version: 3.6 | ||
|
||
- os: macOS-latest | ||
name: py36-mac | ||
python-version: 3.6 | ||
|
||
- os: ubuntu-latest | ||
name: py37-ubuntu | ||
python-version: 3.7 | ||
|
||
- os: windows-latest | ||
name: py37-windows | ||
python-version: 3.7 | ||
|
||
- os: macOS-latest | ||
name: py37-mac | ||
python-version: 3.7 | ||
|
||
- os: ubuntu-latest | ||
name: py38-ubuntu | ||
python-version: 3.8 | ||
|
||
- os: windows-latest | ||
name: py38-windows | ||
python-version: 3.8 | ||
|
||
- os: macOS-latest | ||
name: py38-mac | ||
python-version: 3.8 | ||
|
||
- os: ubuntu-latest | ||
name: py39-ubuntu | ||
python-version: 3.9 | ||
|
||
- os: windows-latest | ||
name: py39-windows | ||
python-version: 3.9 | ||
|
||
- os: macOS-latest | ||
name: py39-mac | ||
python-version: 3.9 | ||
|
||
- os: ubuntu-latest | ||
name: pypy3-ubuntu | ||
python-version: pypy3 | ||
|
||
- os: windows-latest | ||
name: pypy3-windows | ||
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.9 | ||
|
||
steps: | ||
- name: Set Newline Behavior | ||
run : git config --global core.autocrlf false | ||
- uses: actions/checkout@master | ||
- 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 | ||
- name: Get Tox Environment Name From Matrix Name | ||
uses: rishabhgupta/split-by@v1 | ||
id: split-matrix-name | ||
with: | ||
string: '${{ matrix.name }}' | ||
split-by: '-' | ||
- name: Test with tox | ||
run: python -m tox -e ${{ steps.split-matrix-name.outputs._0}}-cov | ||
# 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 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
- name: Install Dependencies | ||
run: npm install | ||
- name: QUnit Tests | ||
run: npm test |
This file contains 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 contains 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 contains 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 contains 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 contains 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
Oops, something went wrong.