Skip to content

Commit

Permalink
Pull yet another update from template
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Oct 6, 2023
1 parent bd18ffa commit 18b8e5e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions .deprecated_files
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

.github/workflows/check_mandatory_and_static_files.yaml
.github/workflows/dev_cd.yaml
.github/workflows/unit_and_int_tests.yaml

scripts/check_mandatory_and_static_files.py
scripts/update_static_files.py
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
name: Unit and Integration Tests
name: Tests

on: push

jobs:
unit_and_int_tests:
tests:
runs-on: ubuntu-latest
name: Unit and Integration Tests
name: Tests

steps:
- uses: actions/checkout@v3

- id: common
uses: ghga-de/gh-action-common@v3

- name: Run pytest
- id: pytest
run: |
export ${{ steps.common.outputs.CONFIG_YAML_ENV_VAR_NAME }}="${{ steps.common.outputs.CONFIG_YAML }}"
pytest \
--cov="${{ steps.common.outputs.MAIN_SRC_DIR }}" \
--cov-report=xml
--cov="${{ steps.common.outputs.PACKAGE_NAME }}" \
--cov-report=xml \
tests
- id: coveralls
name: Upload coverage to coveralls
Expand Down
2 changes: 1 addition & 1 deletion .static_files
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ scripts/README.md
.github/workflows/check_config_docs.yaml
.github/workflows/check_template_files.yaml
.github/workflows/static_code_analysis.yaml
.github/workflows/unit_and_int_tests.yaml
.github/workflows/tests.yaml
.github/workflows/check_openapi_spec.yaml
.github/workflows/check_readme.yaml
.github/workflows/cd.yaml
Expand Down

0 comments on commit 18b8e5e

Please sign in to comment.