Skip to content

Add possibility to disable TLS verify in Docker processor #240

Add possibility to disable TLS verify in Docker processor

Add possibility to disable TLS verify in Docker processor #240

Workflow file for this run

# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: "Run unit tests"
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install --require-hashes --no-cache-dir --no-deps -r requirements.txt
pip install --no-cache-dir --no-deps -r requirements-dev.txt
- name: Run lint check
run: |
make fmt
make lint
- name: Run unit tests
env:
SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }}
GOOGLE_APPLICATION_CREDENTIALS: none
run: |
echo "Starting unit tests..."
make test
echo "Unit testing finished."