Update pybase62 requirement from >=0.4.3,<0.6.0 to >=0.4.3,<1.1.0 #469
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
on: pull_request | |
name: Ciphey terminal test | |
jobs: | |
terminal_test: | |
name: On ubuntu-latest with python | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.7, 3.8, 3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Build ciphey | |
run: | | |
python -m pip install poetry | |
poetry install | |
- name: Test ciphey with plain text | |
run: | | |
plain_text="hello. Testing Ciphey." | |
ciphey_out=$(poetry run ciphey -q -t "$plain_text") | |
if [ "$ciphey_out" == "$plain_text" ] | |
then | |
exit 0 | |
else | |
echo "Ciphey decryption on plain text failed" | |
exit 1 | |
fi | |
- name: Test ciphey with base64 encoded text | |
run: | | |
plain_text="hello. Testing Ciphey." | |
base64_encoded=$(echo -n "$plain_text" | base64) | |
ciphey_out=$(poetry run ciphey -q -t "$base64_encoded") | |
if [ "$ciphey_out" == "$plain_text" ] | |
then | |
exit 0 | |
else | |
echo "Ciphey decryption on base64 encoded string failed" | |
exit 1 | |
fi |