Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.buildout
Commits
f74af6c5
Commit
f74af6c5
authored
Nov 28, 2019
by
Reinout van Rees
Committed by
GitHub
Nov 28, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #494 from gotcha/master
Use Github Actions for smoke tests
parents
e2182e69
b6635825
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
103 additions
and
0 deletions
+103
-0
.github/workflows/Makefile
.github/workflows/Makefile
+7
-0
.github/workflows/scripts.cfg
.github/workflows/scripts.cfg
+15
-0
.github/workflows/scripts.yml
.github/workflows/scripts.yml
+33
-0
.github/workflows/setuptools-master.yml
.github/workflows/setuptools-master.yml
+48
-0
No files found.
.github/workflows/Makefile
0 → 100644
View file @
f74af6c5
sandbox/bin/python
:
pip
install
virtualenv
virtualenv sandbox
sandbox/bin/buildout
:
sandbox/bin/python
sandbox/bin/python setup.py develop
.github/workflows/scripts.cfg
0 → 100644
View file @
f74af6c5
[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}
.github/workflows/scripts.yml
0 → 100644
View file @
f74af6c5
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
.github/workflows/setuptools-master.yml
0 → 100644
View file @
f74af6c5
name
:
Test generating scripts with setuptools head
on
:
schedule
:
-
cron
:
'
0
0,12
*
*
*'
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
:
checkout setuptools
run
:
|
git clone https://github.com/pypa/setuptools.git
-
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
:
Use setuptools develop
env
:
PYTHON_VERSION
:
${{matrix.python-version}}
run
:
|
./sandbox/bin/pip uninstall -y setuptools
cd setuptools
../sandbox/bin/python bootstrap.py
../sandbox/bin/python setup.py develop
ls ../sandbox/lib/python${PYTHON_VERSION}/site-packages
-
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment