Use spaces instead of tabs; update module info; update authors list; … #122
This file contains 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: CI | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'dlib/**' | |
- 'dub.json' | |
- '.github/workflows/**' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'dlib/**' | |
- 'dub.json' | |
- '.github/workflows/**' | |
jobs: | |
test: | |
name: Dub Tests | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
dc: [dmd-latest, ldc-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dlang-community/setup-dlang@v1 | |
with: | |
compiler: ${{ matrix.dc }} | |
- name: Run tests | |
run: dub test --build=unittest-cov | |
- name: Run code coverage | |
if: success() | |
run: | | |
curl https://codecov.io/bash > codecov.sh | |
bash codecov.sh |