fix ingest error on zcash shielded address #170
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: Unit Tests and Build | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: fix openssl legacy mode | |
run: sudo sed -i '/^default = default_sect/a legacy = legacy_sect' /etc/ssl/openssl.cnf && sudo sed -i 's/#openssl_conf/openssl_conf/g' /etc/ssl/openssl.cnf && sudo sed -i '/^\[default_sect\]/a activate = 1\n\[legacy_sect\]\nactivate = 1' /etc/ssl/openssl.cnf | |
- name: Install tox and any other packages | |
run: pip install tox | |
- name: Run Unit Test via tox | |
# Run tox using the version of Python in `PATH` | |
run: tox -e py | |
- name: Run Lint via tox | |
run: tox -e lint | |
- name: Build wheel | |
# Run tox using the version of Python in `PATH` | |
run: tox -e build |