Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jul 23, 2022
1 parent ed3d824 commit f0c2e1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 27 deletions.
26 changes: 1 addition & 25 deletions .circleci/config.yml
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/python:3.9.6
- image: cimg/python:3.10.5

working_directory: ~/repo

Expand All @@ -14,13 +14,6 @@ jobs:
- v2-dependencies-{{ checksum "requirements.txt" }}
- v2-dependencies-

- run:
name: Install pandoc
command: |
sudo apt-get update
wget https://github.com/jgm/pandoc/releases/download/2.14.1/pandoc-2.14.1-1-amd64.deb
sudo dpkg -i pandoc-2.14.1-1-amd64.deb
- run:
name: Install java
command: |
Expand Down Expand Up @@ -56,8 +49,6 @@ jobs:
- run:
name: install dependencies
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
- save_cache:
Expand All @@ -68,31 +59,16 @@ jobs:
- run:
name: run tests
command: |
. venv/bin/activate
export PYTHONPATH=src
python setup.py unittests
- run:
name: wheel
command: |
. venv/bin/activate
export PYTHONPATH=src
python setup.py bdist_wheel
mkdir -p test-reports/dist
cp dist/*.whl test-reports/dist
# - run:
# name: documentation
# command: |
# . venv/bin/activate
# export PYTHONPATH=src
# python setup.py build_sphinx
#
# - run:
# name: copy documentation
# command: |
# mkdir -p test-reports/doc
# zip -r -9 test-reports/doc/documentation_html.zip _doc/sphinxdoc/build/html
- store_artifacts:
path: test-reports
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Expand Up @@ -2,8 +2,8 @@ image:
- Visual Studio 2019
environment:
matrix:
- PYTHON: "C:\\Python39-x64"
PYTHON_VERSION: "3.9.x"
- PYTHON: "C:\\Python310-x64"
PYTHON_VERSION: "3.10.x"
PYTHON_ARCH: "64"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
Expand Down

0 comments on commit f0c2e1f

Please sign in to comment.