This repository was archived by the owner on Nov 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +33
-18
lines changed
Expand file tree Collapse file tree 4 files changed +33
-18
lines changed Original file line number Diff line number Diff line change 1+ name : package
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v1
10+ - name : Set up Python
11+ uses : actions/setup-python@v1
12+ with :
13+ python-version : 3.7
14+ - name : Install dependencies
15+ run : |
16+ python -m pip install --upgrade pip wheel
17+ pip install -e .
18+ - name : Run tests
19+ run : |
20+ python tests.py
21+ - name : Build a distribution
22+ run : |
23+ python setup.py sdist bdist_wheel
24+ - name : Publish a Python distribution to PyPI
25+ if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
26+ uses : pypa/gh-action-pypi-publish@master
27+ with :
28+ user : __token__
29+ password : ${{ secrets.pypi_password }}
Original file line number Diff line number Diff line change 11* .egg-info
22__pycache__
33.pytest_cache
4- .vscode
4+ .vscode
5+ build
6+ dist
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# languagecodes
22
3- [ ![ Build Status ] ( https://travis-ci.org /alephdata/languagecodes.png?branch=master )] ( https://travis-ci.org/alephdata/languagecodes )
3+ ![ package ] ( https://github.com /alephdata/languagecodes/workflows/package/badge.svg )
44
55This library helps to normalise the ISO 639 codes used to describe languages from
66two-letter codes to three letters, and vice versa.
You can’t perform that action at this time.
0 commit comments