Skip to content

Made AS keyword editable even if the AS is active #46

Made AS keyword editable even if the AS is active

Made AS keyword editable even if the AS is active #46

name: build and test senaite.core
on:
- push
- pull_request
env:
PLONE_VERSION: "5.2"
jobs:
build-and-test:
runs-on: 'ubuntu-20.04'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '2.7.18'
cache: 'pip'
- name: cache eggs
uses: actions/cache@v3
with:
key: eggs-cache-${{ hashFiles('buildout.cfg', 'requirements.txt') }}
path: |
eggs/
- name: install
run: |
pip install virtualenv
virtualenv -p `which python` .
bin/pip install -r requirements.txt
bin/buildout -N -t 3 annotate
bin/buildout -N -t 3
- name: lint
run: |
bin/pip install flake8
bin/flake8 --config ci_flake8.cfg src/{bika,senaite}/
- name: test
run: |
bin/test -s senaite.core.tests