Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async / await & testing #72

Merged
merged 80 commits into from
Jan 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
65d0f01
Will it blend?
joshuawright11 Sep 24, 2021
c9b0b9c
Change DEVELOPER_DIR on macos
joshuawright11 Sep 24, 2021
1e9cc30
Test async CI
joshuawright11 Sep 24, 2021
5305afd
Retry
joshuawright11 Sep 24, 2021
2531820
Disable macos CI for now
joshuawright11 Sep 24, 2021
18ace85
Convert Core, Routing and Middleware
joshuawright11 Sep 26, 2021
d2d483d
Fix deps
joshuawright11 Sep 26, 2021
2d11f56
Remove futures from docs
joshuawright11 Sep 26, 2021
7cd68b7
Convert scheduler
joshuawright11 Sep 26, 2021
dbbcb47
Convert Queues & Jobs
joshuawright11 Sep 26, 2021
1dc375c
Convert Cache
joshuawright11 Sep 26, 2021
7e01968
Convert Command
joshuawright11 Sep 26, 2021
a2ea458
Convert Thread & Bcrypt
joshuawright11 Sep 27, 2021
4edf616
Convert Database & Migrations
joshuawright11 Sep 27, 2021
38b9cd6
Convert Query & Rune
joshuawright11 Sep 27, 2021
5c86439
Convert Redis
joshuawright11 Sep 27, 2021
a863f7f
Cleanup Endpoint+Request
joshuawright11 Sep 27, 2021
d4e11a5
Disable async tests that won't work on Linux yet
joshuawright11 Sep 27, 2021
61bfdf8
Final tweaks
joshuawright11 Sep 28, 2021
c9595c0
Fix up channel handler errors and EventLoop issues
joshuawright11 Sep 28, 2021
82cd3cb
Fix line that crashes compiler on Docker
joshuawright11 Sep 28, 2021
4eb2c75
Drop swift-tools-version to 5.4
joshuawright11 Sep 28, 2021
f39403c
Clean up warnings and fix migration rollback
joshuawright11 Sep 29, 2021
ddf1b98
Fix DatabaseQueue deadlock
joshuawright11 Oct 1, 2021
4f2b62c
Update router tests
joshuawright11 Oct 5, 2021
f5fb9d8
Rename Trie
joshuawright11 Oct 6, 2021
be2fa54
Test coverage for router
joshuawright11 Oct 6, 2021
82ce125
Adds Testing (#75)
joshuawright11 Nov 24, 2021
e7f4e3c
Update workflows and move Aliases
joshuawright11 Nov 24, 2021
e93572c
Bump workflows
joshuawright11 Nov 24, 2021
7ea7dbb
Remove sudo
joshuawright11 Nov 24, 2021
1b5204c
Linux bump
joshuawright11 Nov 24, 2021
7758b88
Fix linux weirdness
joshuawright11 Nov 24, 2021
a79bf16
Fix optional BelongsTo
joshuawright11 Nov 24, 2021
ffd68d4
Update Env for testing
joshuawright11 Nov 25, 2021
42dbc88
Update file location logic
joshuawright11 Nov 26, 2021
7b175b1
Add remote address
joshuawright11 Nov 29, 2021
f16ae97
Clean up
joshuawright11 Nov 29, 2021
5a05a98
WIP
joshuawright11 Nov 29, 2021
5eb465f
Hummingbird (#76)
joshuawright11 Dec 7, 2021
4eb7ef9
Use provided hummingbird config
joshuawright11 Dec 7, 2021
13b7b83
Fix dotenv
joshuawright11 Dec 8, 2021
fd47f37
Sanitize client errors
joshuawright11 Dec 20, 2021
e176905
WIP
joshuawright11 Dec 20, 2021
829034c
Hummingbird saves the day again
joshuawright11 Dec 20, 2021
643ebdc
Clean up streamer
joshuawright11 Dec 21, 2021
4061069
Fix streamer size
joshuawright11 Dec 21, 2021
5d08fd8
Tweak Queue log level
joshuawright11 Dec 21, 2021
aeb62fb
Databaes logging
joshuawright11 Dec 21, 2021
77d970e
Update locking
joshuawright11 Dec 21, 2021
a379364
Update locked
joshuawright11 Dec 21, 2021
ac9945e
Add additional log
joshuawright11 Dec 21, 2021
064d63b
Add convenience APIs around accessing Content, Files & Attachments (#77)
joshuawright11 Dec 28, 2021
eb6fd34
Clean up configurable services
joshuawright11 Dec 29, 2021
45bd95b
Rename Store -> Cache
joshuawright11 Dec 29, 2021
aa78b97
Add streaming options in router and client
joshuawright11 Dec 29, 2021
c3dddfc
Clean up router and services
joshuawright11 Jan 3, 2022
1c8d356
Rename test lib
joshuawright11 Jan 3, 2022
2f53132
Remove docs
joshuawright11 Jan 3, 2022
fa5edae
Renames & sugar
joshuawright11 Jan 3, 2022
a895620
Client docs changes
joshuawright11 Jan 4, 2022
779a0fa
Request doc tweaks
joshuawright11 Jan 4, 2022
a2f90f7
Properly remove extra middleware applied during group or controller
joshuawright11 Jan 5, 2022
532178a
Update Papyrus
joshuawright11 Jan 10, 2022
9a6551d
Fix papyrus tests
joshuawright11 Jan 12, 2022
1c783af
Clean up waiters
joshuawright11 Jan 12, 2022
747920f
Bump Xcode
joshuawright11 Jan 12, 2022
18321ff
Merge branch 'main' into async
joshuawright11 Jan 12, 2022
32d0059
Update github runner
joshuawright11 Jan 12, 2022
2956faf
Merge branch 'async' of github.com:alchemy-swift/alchemy into async
joshuawright11 Jan 12, 2022
bc83321
Swap out expectatino
joshuawright11 Jan 12, 2022
dfae1af
Fix tests
joshuawright11 Jan 12, 2022
1070117
Fix Redis shutdown
joshuawright11 Jan 12, 2022
6b40e5e
Fix database tests on linux
joshuawright11 Jan 12, 2022
45751d9
Fix json coding order
joshuawright11 Jan 12, 2022
de92f8d
Actually fix
joshuawright11 Jan 13, 2022
912a37e
Update ::1
joshuawright11 Jan 13, 2022
7af7159
Disable macOS check for now
joshuawright11 Jan 13, 2022
51d2ba2
Remove spurrious argument
joshuawright11 Jan 13, 2022
f9f6638
Update README
joshuawright11 Jan 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,26 @@ on:

jobs:
test-macos:
runs-on: macos-11
if: ${{ false }} # disable until macOS 12 (with concurrency) runners are available.
runs-on: macos-12
env:
DEVELOPER_DIR: /Applications/Xcode_13.2.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
test-linux:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
swift: [5.4]
swift: [5.5]
container: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v2
- name: Install sqlite
run: apt-get -q update && apt-get install -y libsqlite3-dev
- name: Build
run: swift build -v --enable-test-discovery
- name: Run tests
Expand Down
62 changes: 0 additions & 62 deletions Docs/0_GettingStarted.md

This file was deleted.

268 changes: 0 additions & 268 deletions Docs/10_DiggingDeeper.md

This file was deleted.

Loading