Add default ConfigReader to bootstrap() and package trait
#308
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 ] } | |
| jobs: | |
| unit-tests: | |
| uses: vapor/ci/.github/workflows/run-unit-tests.yml@main | |
| with: | |
| # with_windows: true | |
| with_musl: true | |
| # with_android: true | |
| with_linting: true | |
| secrets: inherit | |
| package-traits: | |
| runs-on: ubuntu-latest | |
| container: swift:6.2-bookworm | |
| steps: | |
| - name: Check out ConsoleKit | |
| uses: actions/checkout@v6 | |
| - name: Run tests with traits disabled | |
| run: swift test --disable-default-traits | |
| # integration-check: | |
| # runs-on: ubuntu-latest | |
| # container: swift:noble | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # with: { path: console-kit } | |
| # - uses: actions/checkout@v4 | |
| # with: { repository: 'vapor/vapor', path: vapor } | |
| # - run: swift package --package-path vapor edit console-kit --path console-kit | |
| # - run: SWIFT_DETERMINISTIC_HASHING=1 swift test --package-path vapor |