Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sleap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
swp21_biotracker
sleap
Commits
b8957938
Commit
b8957938
authored
4 years ago
by
Talmo Pereira
Browse files
Options
Downloads
Patches
Plain Diff
Bump alpha version (for CI test)
parent
61b2d730
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/build.yml
+18
-5
18 additions, 5 deletions
.github/workflows/build.yml
sleap/version.py
+1
-1
1 addition, 1 deletion
sleap/version.py
with
19 additions
and
6 deletions
.github/workflows/build.yml
+
18
−
5
View file @
b8957938
...
...
@@ -21,6 +21,7 @@ jobs:
matrix
:
os
:
[
"
ubuntu-latest"
,
"
windows-latest"
]
steps
:
# Setup
-
uses
:
actions/checkout@v2
-
name
:
Cache conda
uses
:
actions/cache@v1
...
...
@@ -44,22 +45,31 @@ jobs:
which python
conda info
# Build pip wheel (Windows)
-
name
:
Build pip wheel
if
:
matrix.os == 'windows-latest'
shell
:
bash -l {0}
run
:
|
python setup.py bdist_wheel
-
name
:
Upload pip wheel
# Upload pip wheel
-
name
:
Upload pip wheel (Windows)
if
:
matrix.os == 'windows-latest'
env
:
PYPI_TOKEN
:
${{ secrets.PYPI_TOKEN }}
shell
:
bash -l {0}
run
:
|
twine upload -u __token__ -p "$PYPI_TOKEN" dist/* --non-interactive --skip-existing --disable-progress-bar
# Build conda package
-
name
:
Build conda package (Ubuntu)
if
:
matrix.os == 'ubuntu-latest'
shell
:
bash -l {0}
run
:
|
pytest tests/
sudo apt-get install xvfb libxkbcommon-x11-0
sudo Xvfb :1 -screen 0 1024x768x24 </dev/null &
export DISPLAY=":1"
xvfb-run pytest tests/
conda build .conda --output-folder build
-
name
:
Build conda package (Windows)
if
:
matrix.os == 'windows-latest'
...
...
@@ -69,6 +79,9 @@ jobs:
pytest tests/
conda build .conda --output-folder build
# Upload conda package
# anaconda upload --force build\win-64\*.tar.bz2 --label dev
# anaconda upload --force build/linux-64/*.tar.bz2 --label dev
-
name
:
Upload conda package (Windows)
if
:
matrix.os == 'windows-latest'
env
:
...
...
@@ -76,7 +89,7 @@ jobs:
shell
:
bash -l {0}
run
:
|
anaconda login --username sleap --password "$ANACONDA_LOGIN"
anaconda upload
--force
build\win-64\
*
.tar.bz2 --label dev
anaconda upload
"
build\win-64\
sleap-1.1.0a4-py36_0
.tar.bz2
"
--label dev
anaconda logout
-
name
:
Upload conda package (Ubuntu)
if
:
matrix.os == 'ubuntu-latest'
...
...
@@ -85,5 +98,5 @@ jobs:
shell
:
bash -l {0}
run
:
|
anaconda login --username sleap --password "$ANACONDA_LOGIN"
anaconda upload --force build/linux-64/*.tar.bz2 --label dev
anaconda logout
\ No newline at end of file
anaconda upload build/linux-64/sleap-1.1.0a4-py36_0.tar.bz2 --label dev
anaconda logout
This diff is collapsed.
Click to expand it.
sleap/version.py
+
1
−
1
View file @
b8957938
...
...
@@ -10,4 +10,4 @@ For example, if you set the version to X.Y.Z, then the tag should be "vX.Y.Z".
Must be a semver string,
"
aN
"
should be appended for alpha releases.
"""
__version__
=
"
1.1.0a
3
"
__version__
=
"
1.1.0a
4
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment