This repository has been archived by the owner on Jun 9, 2024. It is now read-only.
Expose MessageId in Email backend #85
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./ | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 | |
- run: pip install poetry | |
- name: Set Poetry config | |
run: poetry config virtualenvs.path ~/.virtualenvs | |
- name: Cache Poetry | |
uses: actions/cache@v1 | |
id: cache | |
with: | |
path: ~/.virtualenvs | |
key: poetry-toolkit-${{ hashFiles('**/poetry.lock') }}-v2 | |
- name: Install deps | |
run: poetry install | |
- name: Unit tests | |
run: poetry run task test | |
env: | |
IDENTITY_SECRET: 'secret' | |
PASTAPORTO_SECRET: 'secret' | |
SERVICE_TO_SERVICE_SECRET: 'secret' | |
PASTAPORTO_ACTION_SECRET: 'secret' |