Bump cryptography from 41.0.2 to 41.0.3 (#880) #648
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: basic test | |
on: | |
push: | |
tags: | |
- ".*" | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
- feature-2.0 | |
jobs: | |
simple-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- uses: pre-commit/[email protected] | |
test: | |
runs-on: ubuntu-latest | |
needs: simple-checks | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# 'Basic' tests and checks | |
- TOXENV: py3mypy | |
TOXCFG: tox.ini | |
- TOXENV: py3 | |
TOXCFG: tox.ini | |
- TOXENV: py3-generic | |
TOXCFG: tox-integration.ini | |
- TOXENV: py3-mqtt | |
TOXCFG: tox-integration.ini | |
- TOXENV: py3-hooks | |
TOXCFG: tox-integration.ini | |
- TOXENV: py3-advanced | |
TOXCFG: tox-integration.ini | |
services: | |
docker: | |
image: docker | |
env: | |
TOXENV: ${{ matrix.TOXENV }} | |
TOXCFG: ${{ matrix.TOXCFG }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
env: | |
cache-name: cache-${{ matrix.TOXENV }} | |
with: | |
path: .tox | |
key: ${{ runner.os }}-tox-${{ env.cache-name }}-${{ hashFiles('tox.ini', 'tox-integration.ini', 'pyproject.toml', 'requirements.in') }} | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml', 'requirements.in') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- uses: jpribyl/[email protected] | |
continue-on-error: true | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: install deps | |
run: | | |
pip install tox -c constraints.txt | |
- name: tox | |
run: | | |
tox -c ${TOXCFG} -e ${TOXENV} |