Commit 00c1df7b authored by Godefroid Chapelle's avatar Godefroid Chapelle

[actions] generate script

run buildout and check which files are downloaded
and which eggs are installed
parent e2182e69
sandbox/bin/python:
pip install virtualenv
virtualenv sandbox
sandbox/bin/buildout: sandbox/bin/python
sandbox/bin/python setup.py develop
[buildout]
extensions = buildout.environ
environ-required =
PACKAGE
parts = test
sandbox = ${buildout:directory}/../../sandbox
eggs-directory = ${buildout:sandbox}/eggs
download-cache = ${buildout:sandbox}/downloads
abi-tag-eggs = false
[test]
recipe = zc.recipe.egg
eggs = ${__environ__:PACKAGE}
name: Test generating scripts
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [2.7, 3.5, 3.6, 3.7]
package: [zest.releaser, pyspf]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Setup buildout virtualenv
run: |
make -f .github/workflows/Makefile sandbox/bin/buildout
- name: Run buildout
env:
PACKAGE: ${{matrix.package}}
run: |
sandbox/bin/buildout -v -c .github/workflows/scripts.cfg annotate buildout
sandbox/bin/buildout -c .github/workflows/scripts.cfg
- name: Check eggs
run: |
ls -al sandbox/eggs
ls -al sandbox/downloads/dist
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment