Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push coverage from GH Actions; remove TravisCI #1034

Merged
merged 14 commits into from
May 10, 2020
7 changes: 5 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ jobs:
node-version: ${{ matrix.node }}
# lint, build, test
- run: npm install
- run: npm run lint
- run: npm run build
- run: npm rm tslint
- run: npm install ${{ matrix.typescript }}
- run: npm run test-cov
- run: npm install ${{ matrix.typescript }} --force
- run: set +e ; npm run test-cov ; echo $? > tests-exit-code
- run: npm install -g coveralls@2 && cat ./coverage/lcov.info | coveralls
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I was having so much trouble navigating the github actions docs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's been pretty challenging, but I've been using it in some private monorepos lately so got a bunch of first-hand experience (which seems to be the only way to learn).

- run: set -euo pipefail ; exit $(cat tests-exit-code)
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

Loading