Add configuration and XChaCha20 as an optional encryption backend #254
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: 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.7", "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 |