-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
URB-3148 Merge pull request #4 from IMIO/2.x
2.x - REST API
- Loading branch information
Showing
33 changed files
with
1,869 additions
and
786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Tests | ||
|
||
on: [ push ] | ||
|
||
jobs: | ||
tests: | ||
runs-on: "ubuntu-latest" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- python-version: "2.7.18" | ||
plone-version: "4.3" | ||
# - python-version: "3.8.15" | ||
# plone-version: "5.2" | ||
# - python-version: "3.11.2" | ||
# plone-version: "6.0" | ||
services: | ||
libreoffice: | ||
image: imiobe/libreoffice:7.3 | ||
ports: | ||
- 2002:2002 | ||
volumes: | ||
- /tmp:/tmp | ||
- /var/tmp:/var/tmp | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Env | ||
run: | | ||
mkdir -p -m 777 /tmp/appy/ | ||
sudo add-apt-repository ppa:libreoffice/ppa -y | ||
sudo apt update -qq -y | ||
sudo apt-get install -qq -y libreoffice libreoffice-script-provider-python | ||
mkdir -p buildout-cache/{eggs,downloads} | ||
- name: Set up pyenv and Python | ||
uses: "gabrielfalcao/pyenv-action@v17" | ||
with: | ||
default: "${{ matrix.python-version }}" | ||
- name: Setup Python env | ||
run: | | ||
pip install --upgrade pip | ||
pip install -r requirements-${{ matrix.plone-version }}.txt | ||
- name: Cache eggs | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-eggs | ||
with: | ||
path: ~/buildout-cache/eggs | ||
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ matrix.plone-version }} | ||
restore-keys: ${{ runner.os }}-test-${{ env.cache-name }}-${{ matrix.plone-version }} | ||
- name: buildout | ||
run: | | ||
buildout | ||
- name: test | ||
run: | | ||
bin/test -t !robot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
zc.buildout==2.13.3 | ||
setuptools==44.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# using buildout.pm | ||
#setuptools == 38.2.4 | ||
#zc.buildout == 2.13.1 | ||
zc.buildout==2.13.3 | ||
setuptools==44.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from setuptools import setup, find_packages | ||
import os | ||
|
||
version = '1.18.dev0' | ||
version = '2.0.0b2.dev0' | ||
|
||
setup(name='imio.pm.wsclient', | ||
version=version, | ||
|
@@ -20,7 +20,7 @@ | |
keywords='', | ||
author='Gauthier Bastien', | ||
author_email='[email protected]', | ||
url='http://svn.communesplone.org/svn/communesplone/imio.pm.wsclient/', | ||
url='https://github.com/IMIO/imio.pm.wsclient', | ||
license='GPL', | ||
packages=find_packages('src'), | ||
package_dir={'': 'src'}, | ||
|
@@ -32,10 +32,10 @@ | |
'collective.z3cform.datagridfield', | ||
'imio.pm.locales', | ||
'plone.memoize', | ||
# -*- Extra requirements: -*- | ||
'suds-jurko', | ||
'requests', | ||
'six', | ||
], | ||
extras_require={'test': ['plone.app.testing', 'imio.pm.ws', 'mock']}, | ||
extras_require={'test': ['plone.app.testing', 'plonemeeting.restapi', 'mock']}, | ||
entry_points=""" | ||
# -*- Entry points: -*- | ||
""", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.