Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
combo
Manage
Activity
Members
Labels
Plan
Issues
20
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Syntactic Tools
combo
Commits
cdceedd0
Commit
cdceedd0
authored
1 year ago
by
Maja Jablonska
Browse files
Options
Downloads
Patches
Plain Diff
Add tox and gitlab CI configuration
parent
4d4ccc26
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#16308
failed with stage
in 29 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+40
-0
40 additions, 0 deletions
.gitlab-ci.yml
setup.cfg
+0
-13
0 additions, 13 deletions
setup.cfg
tox.ini
+6
-0
6 additions, 0 deletions
tox.ini
with
46 additions
and
13 deletions
.gitlab-ci.yml
0 → 100644
+
40
−
0
View file @
cdceedd0
image
:
python:latest
cache
:
paths
:
-
.tox
stages
:
-
test
-
publish
before_script
:
-
apt-get update -yqq
&& apt-get install -yqq --no-install-recommends
make
g++
&& apt-get autoremove -yqq --purge
&& apt-get clean
unittests
:
stage
:
test
script
:
-
pip install tox==4.12
-
tox -v -e pytest
pypi_publish
:
before_script
:
-
pip install twine
only
:
-
master
stage
:
publish
when
:
on_success
script
:
-
pip install twine
-
python setup.py sdist bdist_wheel
-
python -m twine upload
--skip-existing
--repository-url https://pypi.clarin-pl.eu/
-u $PIPY_USER
-p $PIPY_PASS
dist/combo*.whl
This diff is collapsed.
Click to expand it.
setup.cfg
deleted
100644 → 0
+
0
−
13
View file @
4d4ccc26
[aliases]
test=pytest
[tox:tox]
envlist
= py38
skipsdist
= True
[testenv:pytest]
deps
= pytest
commands
= pytest
[metadata]
description
-file = README.md
This diff is collapsed.
Click to expand it.
tox.ini
0 → 100644
+
6
−
0
View file @
cdceedd0
[tox]
envlist
=
py38,py39,py310
[testenv]
deps
=
pytest
commands
=
pytest {posargs}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
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