name: Swift

on:
    push:
        branches: [ master ]
    pull_request:
        branches: [ master ]

jobs:
    test:
        runs-on: macos-latest
        steps:
            - uses: actions/checkout@v2
            - name: Test Chatto
              run: ./scripts/test.sh chatto
            - name: Test ChattoAdditions
              run: ./scripts/test.sh additions
            - name: Test ChattoApp
              run: ./scripts/test.sh app

name: Swift

on:
    push:
        branches: [ master ]
    pull_request:
        branches: [ master ]

jobs:
    test:
        runs-on: macos-latest
        steps:
            - uses: actions/checkout@v2
            - name: Test Chatto
              run: ./scripts/test.sh chatto
            - name: Coverage for Chatto
              run: bash <(curl -s https://codecov.io/bash) -J 'Chatto'
            - name: Test ChattoAdditions
              run: ./scripts/test.sh additions
            - name: Coverage for ChattoAdditions
              run: bash <(curl -s https://codecov.io/bash) -J 'ChattoAdditions'
            - name: Test ChattoApp
              run: ./scripts/test.sh app

Add codecov integration to github actions
Add codecov integration to github actions
