Update link to Docs #116
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: 'Run Swift Tests' | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| env: | |
| AWS_ENABLE_LOGGING : "true" | |
| AWS_LOG_LEVEL: "trace" | |
| jobs: | |
| swift-tests: | |
| name: 'Swift Tests' | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| image: | |
| - swift:6.2.0 | |
| services: | |
| localstack: | |
| image: localstack/localstack | |
| container: | |
| image: ${{ matrix.image }} | |
| env: | |
| LOCALSTACK_ENDPOINT : "http://localstack:4566" | |
| # Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| # Checkout the repository to the GitHub Actions runner | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup | |
| run: | | |
| export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true && apt-get -q update && apt-get -q install -y make curl wget | |
| - name: Test | |
| run: | | |
| make test | |
| - name: Compare Output With Example ItemAPI | |
| run: | | |
| make compare_breeze_lambda_api_output_with_example | |
| - name: Compare Output With Example GitHubWebhook | |
| run: | | |
| make compare_breeze_github_weboook_output_with_example | |
| - name: Compare Output With Example Webhook | |
| run: | | |
| make compare_breeze_weboook_output_with_example | |
| - name: Coverage | |
| run: | | |
| make coverage | |
| - name: Upload Code Coverage | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| files: ${{ github.workspace }}/lcov.info |