Skip to content

Commit

Permalink
Merge pull request #888 from python-babel/build-in-ci
Browse files Browse the repository at this point in the history
Build packages in CI
  • Loading branch information
akx committed Jun 16, 2022
2 parents 46462a1 + 5f8c0f0 commit a75ac3c
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 163 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
Build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
cache-dependency-path: "**/setup.py"
- run: pip install build -e .
- run: make import-cldr
- run: python -m build
- uses: actions/upload-artifact@v3
with:
name: dist
path: dist
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,4 @@ develop:
tox-test: import-cldr
tox

release: import-cldr
python scripts/make-release.py

.PHONY: test develop tox-test clean-pyc clean-cldr import-cldr clean release clean-test-env standalone-test
.PHONY: test develop tox-test clean-pyc clean-cldr import-cldr clean clean-test-env standalone-test
155 changes: 0 additions & 155 deletions scripts/make-release.py

This file was deleted.

5 changes: 1 addition & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[aliases]
release = sdist bdist_wheel

[tool:pytest]
norecursedirs = venv* .* _* scripts {args}
doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE ALLOW_UNICODE IGNORE_EXCEPTION_DETAIL
Expand All @@ -11,4 +8,4 @@ filterwarnings =
ignore:babel.numbers.format_decimal:DeprecationWarning

[metadata]
license_file = LICENSE
license_files = LICENSE

0 comments on commit a75ac3c

Please sign in to comment.