Skip to content

add cli command dump to safe exchange rates to file #221

add cli command dump to safe exchange rates to file

add cli command dump to safe exchange rates to file #221

Workflow file for this run

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