mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
reorg test structure to match tox and CI jobs, drop bumpversion for bump-my-version and move config to pyproject.toml, fix docs building
This commit is contained in:
@ -86,14 +86,32 @@ windows-wheel-steps:
|
||||
key: cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
|
||||
|
||||
docs: &docs
|
||||
docker:
|
||||
- image: common
|
||||
working_directory: ~/repo
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
|
||||
- run:
|
||||
name: install dependencies
|
||||
command: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install tox
|
||||
- run:
|
||||
name: install latexpdf dependencies
|
||||
command: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install latexmk tex-gyre texlive-fonts-extra
|
||||
- run:
|
||||
name: run tox
|
||||
command: python -m tox run -r
|
||||
- save_cache:
|
||||
paths:
|
||||
- .tox
|
||||
- ~/.cache/pip
|
||||
- ~/.local
|
||||
key: cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
|
||||
resource_class: xlarge
|
||||
|
||||
interop: &interop
|
||||
docker:
|
||||
@ -103,7 +121,6 @@ interop: &interop
|
||||
name: install interop test dependencies
|
||||
command: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install latexmk tex-gyre texlive-fonts-extra
|
||||
wget https://dl.google.com/go/$GOBINPKG
|
||||
sudo tar -C /usr/local -xzf $GOBINPKG
|
||||
export GOPATH=$HOME/go
|
||||
@ -115,7 +132,7 @@ jobs:
|
||||
docs:
|
||||
<<: *docs
|
||||
docker:
|
||||
- image: cimg/python:3.8
|
||||
- image: cimg/python:3.9
|
||||
environment:
|
||||
TOXENV: docs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user