chore(deps): update dependency semantic-release-preconfigured-convent… #892
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
name: CI/CD | |
on: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
paths-ignore: | |
- '.gitignore' | |
- '.mergify.yml' | |
- 'CHANGELOG.md' | |
- 'LICENSE' | |
- 'README.md' | |
- 'renovate.json' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
python-version: | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
runs-on: ${{ matrix.os }} | |
name: Run tests on Python ${{ matrix.python-version }}, on ${{ matrix.os }} | |
timeout-minutes: 45 | |
concurrency: | |
group: ${{ github.workflow }}-run-unit-tests-${{ matrix.python-version }}-${{ matrix.os }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
id: setup-python | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
- run: echo 'Using cache for Python depedencies? ${{ steps.setup-python.outputs.cache-hit }}' | |
- name: Restore Python dependencies | |
run: pip install -r requirements-dev.txt | |
- name: Test | |
run: python -m unittest discover -v -s test -t . | |
deploy: | |
needs: | |
- test | |
uses: ./.github/workflows/deploy.yml | |
if: github.ref_name == 'master' | |
secrets: inherit |