Skip to content

Workflow file for this run

name: Service Wizard 2 Tests
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
push:
# run workflow when merging to main or develop
branches:
- main
- master
- develop
jobs:
service_wizard2_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.12" ]
steps:
- name: Repo checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash
run: bash scripts/update_dependencies.sh
- name: Run pre-commit Hooks
shell: bash
run: pre-commit run --all-files
- name: Run tests
shell: bash
run: bash scripts/run_tests.sh
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true