Merge branch 'main' into pip-22.3

This commit is contained in:
Oz N Tiram
2022-10-25 10:06:33 +02:00
committed by GitHub
27 changed files with 262 additions and 6184 deletions
+33 -3
View File
@@ -47,7 +47,12 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: 3.x
- name: Collect Workflow Telemetry
uses: runforesight/foresight-workflow-kit-action@v1
if: ${{ always() }}
with:
api_key: ${{ secrets.FORESIGHT_API_KEY }}
- run: |
python -m pip install pre-commit
pre-commit run --all-files --verbose --show-diff-on-failure
@@ -59,7 +64,13 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: 3.x
- name: Collect Workflow Telemetry
uses: runforesight/foresight-workflow-kit-action@v1
if: ${{ always() }}
with:
api_key: ${{ secrets.FORESIGHT_API_KEY }}
- run: |
python -m pip install --upgrade wheel invoke parver bs4 vistir towncrier requests
python -m invoke vendoring.update
@@ -81,6 +92,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Collect Workflow Telemetry
uses: runforesight/foresight-workflow-kit-action@v1
if: ${{ always() }}
with:
api_key: ${{ secrets.FORESIGHT_API_KEY }}
- name: Get python path
id: python-path
run: |
@@ -122,7 +139,15 @@ jobs:
PYTHONIOENCODING: "utf-8"
GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=accept-new -o CheckHostIP=no
run: |
pipenv run pytest -ra -n auto -v --fulltrace tests
pipenv run pytest --junitxml=./reports/results.xml -ra -n auto -v --fulltrace tests
- name: Analyze Test and/or Coverage Results
uses: runforesight/foresight-test-kit-action@v1
if: ${{ always() }}
with:
api_key: ${{ secrets.FORESIGHT_API_KEY }}
test_format: JUNIT
test_framework: PYTEST
test_path: ./reports/**
build:
name: Build Package
@@ -133,6 +158,11 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Collect Workflow Telemetry
uses: runforesight/foresight-workflow-kit-action@v1
if: ${{ always() }}
with:
api_key: ${{ secrets.FORESIGHT_API_KEY }}
- run: pip install -U build twine
- run: |
python -m build
+6
View File
@@ -21,6 +21,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Collect Workflow Telemetry
uses: runforesight/foresight-workflow-kit-action@v1
if: ${{ always() }}
with:
api_key: ${{ secrets.FORESIGHT_API_KEY }}
- name: Create Release
id: create_release
uses: actions/create-release@v1