mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-06 05:47:27 +02:00
Artifact upgrade v4 (#463)
This commit is contained in:
parent
d1736db653
commit
fd16ed6752
2
.github/workflows/documentation.yaml
vendored
2
.github/workflows/documentation.yaml
vendored
@ -56,7 +56,7 @@ jobs:
|
|||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
steps:
|
steps:
|
||||||
- run: echo "Deployment URL = ${{ steps.deployment.outputs.page_url }}"
|
- run: echo "Deployment URL = ${{ steps.deployment.outputs.page_url }}"
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
|
2
.github/workflows/lint-actions.yaml
vendored
2
.github/workflows/lint-actions.yaml
vendored
@ -63,7 +63,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
poetry run pip-audit --format markdown -o lbr-audit.md || true
|
poetry run pip-audit --format markdown -o lbr-audit.md || true
|
||||||
- name: Archive license summary
|
- name: Archive license summary
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: license-summary
|
name: license-summary
|
||||||
path: |
|
path: |
|
||||||
|
14
.github/workflows/test-and-build-action.yaml
vendored
14
.github/workflows/test-and-build-action.yaml
vendored
@ -29,14 +29,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
poetry run pytest --junit-xml=unit-test-results.xml --cov-report "xml:coverage.xml" --cov=src --disable-warnings tests/
|
poetry run pytest --junit-xml=unit-test-results.xml --cov-report "xml:coverage.xml" --cov=src --disable-warnings tests/
|
||||||
- name: Archive code coverage results
|
- name: Archive code coverage results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: code-coverage-report
|
name: code-coverage-report
|
||||||
path: |
|
path: |
|
||||||
coverage.xml
|
coverage.xml
|
||||||
.coverage
|
.coverage
|
||||||
- name: Archive unit test results
|
- name: Archive unit test results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-report
|
name: test-report
|
||||||
path: |
|
path: |
|
||||||
@ -49,7 +49,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: test
|
needs: test
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: code-coverage-report
|
name: code-coverage-report
|
||||||
- name: Get Cover
|
- name: Get Cover
|
||||||
@ -77,14 +77,14 @@ jobs:
|
|||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
cache: poetry
|
cache: poetry
|
||||||
- run: poetry install --only test --all-extras
|
- run: poetry install --only test --all-extras
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: code-coverage-report
|
name: code-coverage-report
|
||||||
- name: Make Coverage Report
|
- name: Make Coverage Report
|
||||||
run: |
|
run: |
|
||||||
poetry run coverage html
|
poetry run coverage html
|
||||||
- name: Archive builds
|
- name: Archive builds
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Coverage Report HTML
|
name: Coverage Report HTML
|
||||||
path: htmlcov/
|
path: htmlcov/
|
||||||
@ -107,7 +107,7 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
poetry build
|
poetry build
|
||||||
- name: Archive builds
|
- name: Archive builds
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: wheel-builds
|
name: wheel-builds
|
||||||
path: dist/
|
path: dist/
|
||||||
@ -121,7 +121,7 @@ jobs:
|
|||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: wheel-builds
|
name: wheel-builds
|
||||||
path: dist
|
path: dist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user