-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from qtc-de/develop
Prepare v1.13.0 Release
- Loading branch information
Showing
20 changed files
with
437 additions
and
169 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
name: develop Python CI | ||
name: develop | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
branches: | ||
- develop | ||
paths: | ||
- pyproject.toml | ||
- tricot/** | ||
- tests/** | ||
- .github/workflows/develop.yml | ||
|
||
jobs: | ||
build: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: | ||
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
- '3.12' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install --upgrade flake8 pytest requests | ||
if [ -f requirements.txt ]; then pip install --upgrade --upgrade-strategy eager -r requirements.txt; fi | ||
python setup.py sdist | ||
pip install dist/* | ||
- name: Lint with flake8 | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude __init__.py,conftest.py \ | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude __init__.py,conftest.py | ||
- name: Test with pytest | ||
run: | | ||
pytest tests/pytest | ||
- name: Test with tricot | ||
run: | | ||
tricot tests/tricot/tricot.yml | ||
- name: Checkout ${{ github.event.repository.name }} | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python3 -m pip install --upgrade pip | ||
pip install --upgrade pipx | ||
pipx install flake8 | ||
pipx install pytest | ||
pipx install . | ||
pipx inject pytest . | ||
- name: Lint with flake8 | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude __init__.py,conftest.py \ | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude __init__.py,conftest.py | ||
- name: Test with pytest | ||
run: | | ||
pytest tests/pytest | ||
- name: Test with tricot | ||
run: | | ||
tricot tests/tricot/tricot.yml |
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 |
---|---|---|
@@ -1,57 +1,57 @@ | ||
name: main Python CI | ||
name: main | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- pyproject.toml | ||
- tricot/** | ||
- tests/** | ||
- .github/workflows/develop.yml | ||
|
||
jobs: | ||
build: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: | ||
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
- '3.12' | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install --upgrade flake8 pytest requests | ||
if [ -f requirements.txt ]; then pip install --upgrade --upgrade-strategy eager -r requirements.txt; fi | ||
python setup.py sdist | ||
pip install dist/* | ||
- name: Lint with flake8 | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude __init__.py,conftest.py \ | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude __init__.py,conftest.py | ||
- name: Test with pytest | ||
run: | | ||
pytest tests/pytest | ||
- name: Test with tricot | ||
run: | | ||
tricot tests/tricot/tricot.yml | ||
- name: Checkout ${{ github.event.repository.name }} | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python3 -m pip install --upgrade pip | ||
pip install --upgrade pipx | ||
pipx install flake8 | ||
pipx install pytest | ||
pipx install . | ||
pipx inject pytest . | ||
- name: Lint with flake8 | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude __init__.py,conftest.py \ | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude __init__.py,conftest.py | ||
- name: Test with pytest | ||
run: | | ||
pytest tests/pytest | ||
- name: Test with tricot | ||
run: | | ||
tricot tests/tricot/tricot.yml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[build-system] | ||
requires = ['hatchling'] | ||
build-backend = 'hatchling.build' | ||
|
||
[project] | ||
name = 'tricot' | ||
version = '1.13.0' | ||
dependencies = [ | ||
'PyYAML', | ||
'termcolor', | ||
'docker', | ||
] | ||
requires-python = '>=3.9' | ||
authors = [ | ||
{name = 'Tobias Neitzel (@qtc_de)'}, | ||
] | ||
maintainers = [ | ||
{name = 'Tobias Neitzel (@qtc_de)'} | ||
] | ||
description = 'Trivial Command Testser' | ||
readme = 'README.md' | ||
license = {file = 'LICENSE'} | ||
keywords = ['testing', 'validation', 'test-automation', 'end-to-end-testing', 'testing-framework'] | ||
classifiers = [ | ||
'Programming Language :: Python :: 3', | ||
'Operating System :: Unix', | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
] | ||
|
||
[project.urls] | ||
Homepage = 'https://github.com/qtc-de/tricot' | ||
Documentation = 'https://github.com/qtc-de/tricot/tree/main/docs' | ||
Repository = 'https://github.com/qtc-de/tricot' | ||
'Bug Tracker' = 'https://github.com/qtc-de/tricot/issues' | ||
Changelog = 'https://github.com/qtc-de/tricot/blob/main/CHANGELOG.md' | ||
|
||
[project.scripts] | ||
tricot = 'tricot.main:main' |
Oops, something went wrong.