We are using tox to run compatibility tests of markov SDK for different python versions: 3.8, 3.9, 3.10
So first we need to make sure all these version are installed in our system
- Install required python versions for compatibility testing. We can use pyenv to manage python versions. To install python3.9.3
$ pyenv install 3.9.3
$ pyenv global 3.9.3
Similarly, install all required python versions
- Install tox
$ pip install tox
- Clone into the usage examples repo
$ git clone https://github.com/markovml/usage-examples
-
Edit the
tox.ini
file: Add your markov api token to the file at line 7. You can get the markov api token from https://app.markovml.com/wsp-9ii9732b28/settings?tab=token -
Run tox
$ tox