-
Notifications
You must be signed in to change notification settings - Fork 56
32 lines (27 loc) · 1007 Bytes
/
docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Run Tests with Docker
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
plone: ["5.2.9"]
steps:
- uses: actions/checkout@v2
name: Testing on Plone ${{ matrix.plone }}
id: setup
with:
plone-version: ${{ matrix.plone }}
- name: pyflakes
run: |
docker run -i --rm -v $(pwd)/eea:/code eeacms/pyflakes
- name: zptlint
run: |
docker run -i --rm -v $(pwd)/eea:/code eeacms/zptlint
- name: i18n
run: |
docker run -i --rm -v $(pwd)/eea:/code eeacms/i18ndude
- name: tests
run: |
docker run -i --rm -v $(pwd):/app/${{ github.event.repository.name }} -e DEVELOP="/app/${{ github.event.repository.name }}" -e ADDONS="/app/${{ github.event.repository.name }}[test]" plone/plone-backend:${{ matrix.plone }} bin/zope-testrunner --auto-color --auto-progress --test-path /app/${{ github.event.repository.name }}