Skip to content

Commit

Permalink
Only do linting
Browse files Browse the repository at this point in the history
  • Loading branch information
luthando5 committed Oct 7, 2024
1 parent 881513f commit 3a8db1b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 50 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build bika.documentation
on:
- push
- pull_request
env:
PLONE_VERSION: "5.2"
jobs:
build-and-test:
runs-on: 'ubuntu-20.04'
container:
image: python:2.7.18-buster
steps:
- uses: actions/checkout@v3
- 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 --upgrade pip
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/
50 changes: 0 additions & 50 deletions .github/workflows/plone-package.yml

This file was deleted.

0 comments on commit 3a8db1b

Please sign in to comment.