25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
530 B

  1. name: Unit tests
  2. on: [push, pull_request]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - name: Set up Python
  9. uses: actions/setup-python@v1
  10. with:
  11. python-version: 3.8
  12. - name: Install dependencies
  13. run: |
  14. pip install --upgrade pip pipenv
  15. pipenv sync -d
  16. - name: Unit tests
  17. env:
  18. COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
  19. run: |
  20. make test
  21. COVERALLS_REPO_TOKEN=$COVERALLS_TOKEN pipenv run coveralls