Skip to content

Commit d08e2fb

Browse files
csvanceCarroll Vance
andauthored
1.0.0 (#44)
* Removing 0.1.X files * Adding 1.0.0 files * Fix docs * Support Julia 1.10 without streaming * Handle 1.10 support in a way that notifies user but doesn't break docs * workloads.jl fix using old package name * Update CI - CI now works purely with Github actions instead of needing a Docker container for running a test server for gRPC - Julia 1.10 LTS as a CI target --------- Co-authored-by: Carroll Vance <cvance@medicalmetrics.com>
1 parent f4ccd52 commit d08e2fb

59 files changed

Lines changed: 3149 additions & 3181 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/TagBot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ jobs:
1212
- uses: JuliaRegistries/TagBot@v1
1313
with:
1414
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/ci.yml

Lines changed: 42 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,59 @@
11
name: CI
2+
23
on:
34
push:
4-
branches: [main]
5-
tags: ["*"]
5+
branches: [ "master" ]
66
pull_request:
7+
branches: [ "master" ]
8+
9+
env:
10+
GRPC_TEST_SERVER_HOST: "localhost"
11+
GRPC_TEST_SERVER_PORT: 8001
12+
713
jobs:
814
test:
915
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1016
runs-on: ${{ matrix.os }}
11-
continue-on-error: ${{ matrix.experimental }}
1217
strategy:
1318
fail-fast: false
1419
matrix:
1520
version:
16-
- '1.6'
17-
- '1' # automatically expands to the latest stable 1.x release of Julia
21+
- '1.10'
22+
- '1.12'
23+
- 'nightly'
1824
os:
1925
- ubuntu-latest
2026
arch:
2127
- x64
22-
- x86
23-
experimental: [false]
24-
include:
25-
# allow failures on nightlies
26-
- os: ubuntu-latest
27-
arch: x64
28-
version: nightly
29-
experimental: true
30-
- os: ubuntu-latest
31-
arch: x86
32-
version: nightly
33-
experimental: true
34-
# test macOS and Windows with latest Julia only
35-
- os: macOS-latest
36-
arch: x64
37-
version: 1
38-
experimental: true
39-
- os: windows-latest
40-
arch: x64
41-
version: 1
42-
experimental: false
43-
- os: windows-latest
44-
arch: x86
45-
version: 1
46-
experimental: false
4728
steps:
48-
- uses: actions/checkout@v2
49-
- name: setup protoc
50-
uses: arduino/setup-protoc@v1
51-
with:
52-
version: '3.x'
53-
- run: protoc --version
54-
- uses: julia-actions/setup-julia@v1
55-
with:
56-
version: ${{ matrix.version }}
57-
arch: ${{ matrix.arch }}
58-
- uses: actions/cache@v1
59-
env:
60-
cache-name: cache-artifacts
61-
with:
62-
path: ~/.julia/artifacts
63-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
64-
restore-keys: |
65-
${{ runner.os }}-test-${{ env.cache-name }}-
66-
${{ runner.os }}-test-
67-
${{ runner.os }}-
68-
- uses: julia-actions/julia-buildpkg@v1
69-
- uses: julia-actions/julia-runtest@v1
70-
- uses: julia-actions/julia-processcoverage@v1
71-
- uses: codecov/codecov-action@v1
72-
with:
73-
file: lcov.info
29+
- uses: actions/checkout@v5
30+
- name: Install uv
31+
uses: astral-sh/setup-uv@v6
32+
- name: Install Python
33+
run: uv python install
34+
working-directory: test/python
35+
- name: Run Python gRPC Test Server
36+
run: uv run grpc_test_server.py test &
37+
working-directory: test/python
38+
- uses: julia-actions/setup-julia@v1
39+
with:
40+
version: ${{ matrix.version }}
41+
arch: ${{ matrix.arch }}
42+
- uses: actions/cache@v4
43+
env:
44+
cache-name: cache-artifacts
45+
with:
46+
path: ~/.julia/artifacts
47+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
48+
restore-keys: |
49+
${{ runner.os }}-test-${{ env.cache-name }}-
50+
${{ runner.os }}-test-
51+
${{ runner.os }}-
52+
- uses: julia-actions/julia-buildpkg@v1
53+
- uses: julia-actions/julia-runtest@v1
54+
- name: Stop Python gRPC Test Serer
55+
run: killall uv
56+
- uses: julia-actions/julia-processcoverage@v1
57+
- uses: codecov/codecov-action@v5
58+
with:
59+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/docs.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- master # update to match your development branch (master, main, dev, trunk, ...)
7+
tags: '*'
8+
pull_request:
9+
10+
jobs:
11+
build:
12+
# These permissions are needed to:
13+
# - Deploy the documentation: https://documenter.juliadocs.org/stable/man/hosting/#Permissions
14+
# - Delete old caches: https://github.com/julia-actions/cache#usage
15+
permissions:
16+
actions: write
17+
contents: write
18+
pull-requests: read
19+
statuses: write
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: julia-actions/setup-julia@v2
24+
with:
25+
version: '1'
26+
- uses: julia-actions/cache@v2
27+
- name: Install dependencies
28+
shell: julia --color=yes --project=docs {0}
29+
run: |
30+
using Pkg
31+
Pkg.develop(PackageSpec(path=pwd()))
32+
Pkg.instantiate()
33+
- name: Build and deploy
34+
run: julia --color=yes --project=docs docs/make.jl
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
37+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.venv
2+
.idea
3+
__pycache__
4+
*.pyc
5+
build
6+
Manifest.toml

LICENSE

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
MIT License
2+
3+
Copyright (c) 2025: Carroll Vance <cs.vance@icloud.com>
4+
Copyright (c) 2021: Julia Computing, Inc.
5+
Copyright (c) 2020 Stefan Karpinski <stefan@karpinski.org> and contributors
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
SOFTWARE.

LICENSE.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

Project.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
name = "gRPCClient"
22
uuid = "aaca4a50-36af-4a1d-b878-4c443f2061ad"
3-
authors = ["Tanmay K.M. <tanmaykm@gmail.com>"]
4-
version = "0.1.4"
3+
authors = ["Carroll Vance <cs.vance@icloud.com>"]
4+
version = "1.0.0"
55

66
[deps]
7-
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
7+
FileWatching = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
88
LibCURL = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
9+
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
910
ProtoBuf = "3349acd9-ac6a-5e09-bcdb-63829b23a429"
1011

1112
[compat]
12-
Downloads = "1.4"
13-
LibCURL = "0.6"
14-
ProtoBuf = "0.11"
15-
julia = "1.6"
13+
julia = "1.10"
14+
FileWatching = "^1.10"
15+
LibCURL = "~0.6.4"
16+
PrecompileTools = "^1.2"
17+
ProtoBuf = "~1.2"
1618

1719
[extras]
18-
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
19-
Sockets = "6462fe0b-24de-5631-8697-dd941f90decc"
2020
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2121

2222
[targets]
23-
test = ["Random", "Sockets", "Test"]
23+
test = ["Test"]

0 commit comments

Comments
 (0)