Skip to content

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 738a2e5 commit 0b83329
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .circleci/config.yml
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/python:3.10.1
- image: cimg/python:3.10.5

working_directory: ~/repo

Expand All @@ -18,8 +18,8 @@ jobs:
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
wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb
sudo dpkg -i pandoc-2.18-1-amd64.deb
- run:
name: Install tex
Expand All @@ -46,17 +46,13 @@ jobs:
- run:
name: install dependencies manual
command: |
python3 -m venv venv
. venv/bin/activate
pip install --upgrade pip
pip install numpy scipy
pip install scikit-learn --no-deps
- run:
name: install dependencies (2)
command: |
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
- save_cache:
Expand All @@ -67,19 +63,16 @@ jobs:
- run:
name: compile and build
command: |
. venv/bin/activate
python setup.py build_ext --inplace
- run:
name: run tests
command: |
. venv/bin/activate
python setup.py unittests
- run:
name: wheel
command: |
. venv/bin/activate
python setup.py bdist_wheel
mkdir -p test-reports/dist
cp dist/*.whl test-reports/dist
Expand Down

0 comments on commit 0b83329

Please sign in to comment.