Skip to content

Commit

Permalink
Update from hummingbird-project-template b5c332c3bd76235c1eac8d040c42…
Browse files Browse the repository at this point in the history
…93072d17d2db (#4)

Co-authored-by: adam-fowler <[email protected]>
  • Loading branch information
hummingbird-automation[bot] and adam-fowler authored Nov 15, 2024
1 parent 73644db commit bad6583
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,26 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-ci
cancel-in-progress: true

env:
FUZZING_SERVER: autobahn
jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
image: ["swift:5.10", "swift:6.0"]


container:
image: ${{ matrix.image }}
services:
autobahn:
image: crossbario/autobahn-testsuite
options: --name fuzzingserver
ports:
ports:
- 9001:9001
volumes:
- ${{ github.workspace }}/scripts/autobahn-config:/config

steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -42,9 +43,8 @@ jobs:
uses: docker://docker
with:
args: docker restart fuzzingserver

- name: Test
env:
FUZZING_SERVER: autobahn
run: |
swift test --enable-code-coverage
- name: Convert coverage files
Expand All @@ -57,4 +57,4 @@ jobs:
- name: Upload to codecov.io
uses: codecov/codecov-action@v5
with:
file: info.lcov
files: info.lcov
21 changes: 19 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,37 @@ name: Swift nightly build
on:
workflow_dispatch:

env:
FUZZING_SERVER: autobahn
jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
image: ['nightly-focal', 'nightly-jammy', 'nightly-amazonlinux2']


container:
image: swiftlang/swift:${{ matrix.image }}
services:
autobahn:
image: crossbario/autobahn-testsuite
options: --name fuzzingserver
ports:
- 9001:9001
volumes:
- ${{ github.workspace }}/scripts/autobahn-config:/config

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restart Autobahn
# The autobahn service container is started *before* swift-websocket is checked
# out. Restarting the container after the checkout step is needed for the
# container to see volumes populated from the checked out workspace.
uses: docker://docker
with:
args: docker restart fuzzingserver

- name: Test
run: |
swift test

0 comments on commit bad6583

Please sign in to comment.