Skip to content

Add configuration and XChaCha20 as an optional encryption backend #261

Add configuration and XChaCha20 as an optional encryption backend

Add configuration and XChaCha20 as an optional encryption backend #261

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"] # "3.12-dev"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.5.1
- uses: actions/cache@v3
with:
path: |
~/.cache/pypoetry
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
- run: brew install automake
if: matrix.os == 'macos-latest'
- run: poetry install
- name: Run test
run: poetry run pytest -s --cov=ecies tests --cov-report xml
- run: ./scripts/ci.sh
- uses: codecov/codecov-action@v3
- run: poetry build