Skip to content

Commit

Permalink
ci: add missing languages
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy committed Oct 20, 2023
1 parent 4b5e01b commit 48a8c36
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ jobs:
openapi_docs: |
- ./test.yaml
languages: |-
- csharp
- go
- java
- php
- python
- ruby
- swift
- typescript
force: ${{ github.event.inputs.force }}
output_tests: true
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,31 @@ on:
workflow_dispatch:

jobs:
test-csharp:
runs-on: ubuntu-latest
services:
httpbin:
image: kennethreitz/httpbin
ports:
- 35123:80
speakeasy-api-test-service:
image: ghcr.io/speakeasy-api/speakeasy-api-test-service:latest
ports:
- 35456:8080
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ">=1.14.0"
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: "5.x"
- name: Test C#
run: |-
cd Tests
dotnet test
working-directory: ./csharp-client-sdk
test-go:
runs-on: ubuntu-latest
services:
Expand Down Expand Up @@ -117,6 +142,23 @@ jobs:
bundle install
rake test
working-directory: ./ruby-client-sdk
test-swift:
runs-on: ubuntu-latest
services:
httpbin:
image: kennethreitz/httpbin
ports:
- 35123:80
speakeasy-api-test-service:
image: ghcr.io/speakeasy-api/speakeasy-api-test-service:latest
ports:
- 35456:8080
steps:
- uses: actions/checkout@v3
- name: Test Swift
run: |-
swift test
working-directory: ./swift-client-sdk
test-typescript:
runs-on: ubuntu-latest
services:
Expand Down

0 comments on commit 48a8c36

Please sign in to comment.