Add support for certificates from Let's Encrypt. #104
Workflow file for this run
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: Test | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- 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 | |
run: | | |
python -m pip install --upgrade pip | |
pip install hatch | |
- name: Lint | |
run: | | |
hatch run lint:style | |
- name: Pull images | |
run: | | |
docker pull mher/flower:0.9.5 | |
docker pull nginx/nginx-prometheus-exporter:1.3.0 | |
docker pull reachfive/fake-smtp-server:latest | |
docker pull redis | |
docker pull redis:5.0 | |
docker pull vimc/montagu-admin-portal:master | |
docker pull vimc/montagu-api:master | |
docker pull vimc/montagu-cli:master | |
docker pull vimc/montagu-contrib-portal:master | |
docker pull vimc/montagu-db:master | |
docker pull vimc/montagu-migrate:master | |
docker pull vimc/montagu-reverse-proxy:master | |
docker pull vimc/montagu-reverse-proxy:VIMC-7464-letsencrypt | |
docker pull vimc/orderly-web-user-cli:master | |
docker pull vimc/orderly-web:master | |
docker pull vimc/orderly.server:master | |
docker pull vimc/orderlyweb-migrate:master | |
docker pull vimc/task-queue-worker:master | |
docker pull ghcr.io/letsencrypt/pebble:latest | |
- name: Test | |
env: | |
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }} | |
YOUTRACK_TOKEN: ${{ secrets.YOUTRACK_TOKEN }} | |
run: | | |
hatch run cov-ci | |
- name: Upload to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true |