Skip to content

Bump pytest from 7.4.2 to 7.4.3 #383

Bump pytest from 7.4.2 to 7.4.3

Bump pytest from 7.4.2 to 7.4.3 #383

Workflow file for this run

name: Tests
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Python Setup
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Lint Checks
run: |
pip install poetry
poetry install
poetry run flake8
poetry run isort --check iac_test tests
poetry run black --check iac_test tests
poetry run mypy iac_test
test:
name: Tests
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
python:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Python Setup
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Test
run: |
pip install poetry
poetry install
poetry run pytest
notification:
name: Notification
if: ${{ always() }}
needs: [lint, test]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Webex Notification
if: always()
uses: qsnyder/action-wxt@master
env:
TOKEN: ${{ secrets.WEBEX_TOKEN }}
ROOMID: ${{ secrets.WEBEX_ROOM_ID }}
MESSAGE: |
[**[${{ job.status }}] ${{ github.repository }} #${{ github.run_number }}**](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
* Commit: [${{ github.event.head_commit.message }}](${{ github.event.head_commit.url }})[${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})
* Author: ${{ github.event.sender.login }}
* Branch: ${{ github.ref }} ${{ github.head_ref }}
* Event: ${{ github.event_name }}