forked from avocado-framework/avocado
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request avocado-framework#5858 from clebergnu/ci_egg_versi…
…on_os Signed-off-by: Jan Richter <[email protected]>
- Loading branch information
Showing
3 changed files
with
213 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Egg | ||
description: Test running avocado from eggs | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Test running avocado from eggs | ||
shell: sh | ||
run: | | ||
python3 setup.py bdist_egg | ||
mv dist/avocado_framework-*egg /tmp | ||
python3 setup.py clean --all | ||
python3 -c 'import sys; import glob; sys.path.insert(0, glob.glob("/tmp/avocado_framework-*.egg")[0]); from avocado.core.main import main; sys.exit(main())' run /bin/true | ||
cd /tmp | ||
python3 -c 'import sys; from pkg_resources import require; require("avocado-framework"); from avocado.core.main import main; sys.exit(main())' run /bin/true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Version | ||
description: Installs and run avocado --version | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Install and run avocado --version | ||
shell: sh | ||
run: | | ||
python3 setup.py develop --user | ||
python3 -m avocado --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters