Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
asr-benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marcin Wątroba
asr-benchmarks
Merge requests
!4
Feature/add poetry
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Feature/add poetry
feature/add_poetry
into
main
Overview
1
Commits
19
Pipelines
0
Changes
76
Merged
Feature/add poetry
Marcin Wątroba
requested to merge
feature/add_poetry
into
main
Aug 9, 2021
Overview
1
Commits
19
Pipelines
0
Changes
76
Created by: markowanga
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
fd7a21ea
19 commits,
Nov 18, 2022
76 files
+
2087
−
908
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
76
.github/workflows/python-master.yml
0 → 100644
+
80
−
0
View file @ fd7a21ea
Edit in single-file editor
Open in Web IDE
name
:
CI Main
on
:
push
:
branches
:
-
main
jobs
:
tests
:
strategy
:
fail-fast
:
false
matrix
:
python-version
:
[
3.9.6
]
poetry-version
:
[
1.1.5
]
os
:
[
ubuntu-20.04
,
macos-latest
,
windows-latest
]
runs-on
:
${{ matrix.os }}
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-python@v2
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install poetry
uses
:
abatilo/actions-poetry@v2.0.0
with
:
poetry-version
:
${{ matrix.poetry-version }}
-
name
:
Install deps
run
:
poetry install -vv
-
name
:
Run tests
run
:
poetry run poe test
lint
:
strategy
:
fail-fast
:
false
matrix
:
python-version
:
[
3.9.6
]
poetry-version
:
[
1.1.5
]
os
:
[
ubuntu-20.04
]
runs-on
:
${{ matrix.os }}
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/setup-python@v2
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install poetry
uses
:
abatilo/actions-poetry@v2.0.0
with
:
poetry-version
:
${{ matrix.poetry-version }}
-
name
:
Install deps
run
:
poetry install -vv
-
name
:
Check
run
:
poetry run poe check
publish
:
needs
:
-
tests
-
lint
environment
:
Deployment
strategy
:
fail-fast
:
false
matrix
:
python-version
:
[
3.9.6
]
poetry-version
:
[
1.1.5
]
os
:
[
ubuntu-20.04
]
runs-on
:
${{ matrix.os }}
steps
:
-
uses
:
actions/checkout@v2
with
:
fetch-depth
:
0
-
uses
:
actions/setup-python@v2
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install poetry
uses
:
abatilo/actions-poetry@v2.0.0
with
:
poetry-version
:
${{ matrix.poetry-version }}
-
name
:
Install deps
run
:
poetry install -vv
-
name
:
Build and publish
run
:
|
poetry version "$(poetry version --short)-beta.${GITHUB_RUN_NUMBER}"
poetry build
poetry config repositories.theliverpypi https://nexus.theliver.pl/repository/pypi-registry/
poetry publish -r theliverpypi --username ${{ secrets.THELIVER_PYPI_USER }} --password ${{ secrets.THELIVER_PYPI_PASS }}
Loading