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

use composite action from collective/buildout.plonetest #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
26 changes: 0 additions & 26 deletions .github/workflows/buildout-27-52.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/buildout-38-52.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/buildout-39-60.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/test-27-52.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/test-38-52.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/test-39-60.yml

This file was deleted.

58 changes: 58 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
on: [push, pull_request]
name: Run buildout and check instance
jobs:
instance:
strategy:
fail-fast: false
matrix:
include:
- python-version: "2.7"
plone-version: "5.2"
os: "ubuntu-20.04"
- python-version: "3.8"
plone-version: "5.2"
os: "ubuntu-latest"
- python-version: "3.9"
plone-version: "6.0"
os: "ubuntu-latest"
runs-on: ${{ matrix.os }}
name: ${{ matrix.plone-version }}-${{ matrix.python-version }} start instance
steps:
- uses: actions/[email protected]
- uses: collective/buildout.plonetest/.github/actions/buildout@gha-buildout-action
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
python-version: ${{ matrix.python-version }}
plone-version: ${{ matrix.plone-version }}
buildout-parts: "instance"
- name: Check that instance starts
run: |
bin/instance run startup.py
all_tests:
strategy:
fail-fast: false
matrix:
include:
- python-version: "2.7"
plone-version: "5.2"
os: "ubuntu-20.04"
- python-version: "3.8"
plone-version: "5.2"
os: "ubuntu-latest"
- python-version: "3.9"
plone-version: "6.0"
os: "ubuntu-latest"
needs: instance
name: ${{ matrix.plone-version }}-${{ matrix.python-version }} run tests
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- uses: collective/buildout.plonetest/.github/actions/buildout@gha-buildout-action
with:
github-token: ${{ secrets.github-token }}
python-version: ${{ matrix.python-version }}
plone-version: ${{ matrix.plone-version }}
buildout-parts: "test"
- name: Run unit tests
run: |
bin/test
File renamed without changes.
4 changes: 4 additions & 0 deletions requirements-6.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
zc.buildout==3.0.1
setuptools==42.0.2
wheel==0.37.1
pip<21.0
File renamed without changes.