Skip to content

Commit c539536

Browse files
authored
Merge pull request #1 from HasData/update-library
update library an readme
2 parents 644f8a9 + de7ebe2 commit c539536

File tree

9 files changed

+142
-385
lines changed

9 files changed

+142
-385
lines changed

.github/workflows/main.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ jobs:
1313
- name: Lint code
1414
run: |
1515
make lint
16+
1617
test:
17-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-20.04
1819
strategy:
1920
matrix:
20-
python-version: ['3.6', '3.7', '3.8']
21+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
2122
steps:
2223
- uses: actions/checkout@v2
2324
- name: Set up Python
@@ -27,7 +28,9 @@ jobs:
2728
- name: Install dependencies
2829
run: |
2930
make deps
31+
3032
publish:
33+
if: github.ref == 'refs/heads/main'
3134
needs: [lint, test]
3235
runs-on: ubuntu-latest
3336
steps:
@@ -48,4 +51,4 @@ jobs:
4851
if: startsWith(github.ref, 'refs/tags')
4952
uses: pypa/gh-action-pypi-publish@release/v1
5053
with:
51-
password: ${{ secrets.PYPI_API_TOKEN }}
54+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)