Skip to content

Commit

Permalink
all old
Browse files Browse the repository at this point in the history
  • Loading branch information
ivukotic committed Sep 22, 2023
1 parent a7ae172 commit bf773b2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
test:
strategy:
matrix:
python-version: ["3.9"]
python-version: [3.7, 3.8, 3.9]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4.0.0
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: Gr1N/setup-poetry@v8
uses: Gr1N/setup-poetry@v7
- name: Install dependencies
run: |
poetry install
Expand All @@ -35,8 +35,8 @@ jobs:
poetry run coverage run -m --source=src pytest tests
poetry run coverage xml
- name: Report coverage using codecov
if: github.event_name == 'push' && matrix.python-version == 3.9
uses: codecov/codecov-action@v3.1.4
if: github.event_name == 'push' && matrix.python-version == 3.8
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml # optional
flags: unittests # optional
10 changes: 5 additions & 5 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4.0.0
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4.7.0
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
- name: Install poetry
uses: Gr1N/setup-poetry@v8
uses: Gr1N/setup-poetry@v7
- name: Build
run: |
poetry version ${{ steps.get_version.outputs.VERSION }}
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.17
uses: JRubics/poetry-publish@v1.6
with:
pypi_token: ${{ secrets.pypi_password_sx_did_lib }}
pypi_token: ${{ secrets.pypi_password_sx_did_lib }}
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
[tool.poetry]
name = "ServiceX_DID_Finder_lib"
version = "1.4.3"
version = "1.4.4"
description = "ServiceX DID Library Routines"
authors = ["Gordon Watts <gwatts@uw.edu>"]

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.6"
pika = "1.1.0"
make-it-sync = "^1.0.0"
requests = "^2.25.0"
chardet = "^5.2.0"

[tool.poetry.dev-dependencies]
pytest = "^5.2"
Expand Down

0 comments on commit bf773b2

Please sign in to comment.