Skip to content

Commit

Permalink
Merge pull request #208 from prashanth-sams/207
Browse files Browse the repository at this point in the history
github hosted runner
  • Loading branch information
prashanth-sams committed Mar 20, 2022
2 parents 29aea22 + 9db2253 commit 5c0b604
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/lint.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/mail.yml
@@ -0,0 +1,22 @@
on:
pull_request:
branches: [ master ]
name: CI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cclauss/Find-Python-syntax-errors-action@master
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: |
pip install pytest pytest-cov coveralls Pillow
py.test --cov ./pytest_html_reporter/ tests/unit/
coveralls --service=github
bash <(curl -s https://codecov.io/bash)
6 changes: 6 additions & 0 deletions .travis.yml
@@ -1,6 +1,12 @@
language: python
python:
- "3.8"
env:
jobs:
- TRAVIS_PULL_REQUEST=false
branches:
only:
- master
install: pip install pytest pytest-cov coveralls Pillow
script: py.test --cov ./pytest_html_reporter/ tests/unit/
after_success:
Expand Down

0 comments on commit 5c0b604

Please sign in to comment.