Skip to content

Fix ElGamal encryption tests #10

Fix ElGamal encryption tests

Fix ElGamal encryption tests #10

Workflow file for this run

name: Python tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
sudo apt-get install sagemath
sage -pip install pycryptodome
sage -pip install pytest
- name: Test with pytest
run: |
export DOT_SAGE="$HOME/.sage"
PYTHONPATH="$DOT_SAGE/local/lib/python3.10/site-packages" $DOT_SAGE/local/bin/pytest