Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump react invenio forms #199

Merged
merged 3 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 18 additions & 28 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ on:
default: 'Manual trigger'

jobs:
Tests:
tests:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
requirements-level: [pypi]
db-service: [postgresql14]
search-service: [opensearch2,elasticsearch7]
node-version: [16.x]
include:
python-version: ['3.9', '3.10', '3.11', '3.12']
db-service: [postgresql14]
search-service: [opensearch2,elasticsearch7]
node-version: [18.x, 20.x]
include:

- search-service: opensearch2
SEARCH_EXTRAS: "opensearch2"
- search-service: opensearch2
SEARCH_EXTRAS: "opensearch2"

- search-service: elasticsearch7
SEARCH_EXTRAS: "elasticsearch7"
- search-service: elasticsearch7
SEARCH_EXTRAS: "elasticsearch7"

env:
CACHE: ${{ matrix.cache-service }}
Expand All @@ -50,42 +50,32 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Run eslint test
run: ./run-js-linter.sh -i

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Generate dependencies
run: |
python -m pip install --upgrade pip setuptools py wheel requirements-builder
requirements-builder -e "$EXTRAS" --level=${{ matrix.requirements-level }} setup.py > .${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt

- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('.${{ matrix.requirements-level }}-${{ matrix.python-version }}-requirements.txt') }}
cache: pip
cache-dependency-path: setup.cfg

- name: Install dependencies
run: |
pip install -r .${{matrix.requirements-level}}-${{ matrix.python-version }}-requirements.txt
pip install ".[$EXTRAS]"
pip freeze
docker --version
docker-compose --version

- name: Run backend tests
run: |
./run-tests.sh
run: ./run-tests.sh

- name: Install deps for frontend tests
working-directory: ./invenio_administration/assets/semantic-ui/js/invenio_administration
Expand Down
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
Changes
=======

Version 2.1.1 (released 2024-03-04)

- bump react-invenio-forms

Version 2.1.0 (released 2024-02-27)

- actions: add explicit prop for dropdown display
Expand Down
2 changes: 1 addition & 1 deletion invenio_administration/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@

from .ext import InvenioAdministration

__version__ = "2.1.0"
__version__ = "2.1.1"

__all__ = ["InvenioAdministration"]
2 changes: 1 addition & 1 deletion invenio_administration/webpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"prop-types": "^15.7.2",
"react-copy-to-clipboard": "^5.0.0",
"react-i18next": "^11.11.0",
"react-invenio-forms": "^1.0.0",
"react-invenio-forms": "^3.0.0",
"react-searchkit": "^2.0.0",
"yup": "^0.32.0",
"formik": "^2.2.9",
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[metadata]
name = invenio-administration
version = attr: invenio_administration.__version__
description = "Invenio module that adds administration panel to the system."
description = Invenio module that adds administration panel to the system.
long_description = file: README.rst, CHANGES.rst
keywords = invenio admin administration backoffice
license = MIT
Expand Down
Loading