Skip to content

Embed sqlite amalgamation v3.43.0 source code (#55) #143

Embed sqlite amalgamation v3.43.0 source code (#55)

Embed sqlite amalgamation v3.43.0 source code (#55) #143

Workflow file for this run

name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request: { types: [opened, reopened, synchronize, ready_for_review] }
push: { branches: [ main ] }
env:
LOG_LEVEL: info
SWIFT_DETERMINISTIC_HASHING: 1
jobs:
# Make sure downstream dependents still work
dependents-check:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
container: swift:5.8-jammy
steps:
- name: Check out package
uses: actions/checkout@v3
with: { path: 'sqlite-nio' }
- name: Check out SQLKit driver
uses: actions/checkout@v3
with: { repository: 'vapor/sqlite-kit', path: 'sqlite-kit' }
- name: Check out FluentKit driver
uses: actions/checkout@v3
with: { repository: 'vapor/fluent-sqlite-driver', path: 'fluent-sqlite-driver' }
- name: Tell dependents to use local checkout
run: |
swift package --package-path sqlite-kit edit sqlite-nio --path sqlite-nio
swift package --package-path fluent-sqlite-driver edit sqlite-nio --path sqlite-nio
- name: Run SQLiteKit tests with Thread Sanitizer
run: swift test --package-path sqlite-kit --sanitize=thread
- name: Run FluentSQLiteDriver tests with Thread Sanitizer
run: swift test --package-path fluent-sqlite-driver --sanitize=thread
unit-tests:
uses: vapor/ci/.github/workflows/run-unit-tests.yml@main
with:
with_coverage: true