diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..6aea7c2 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,21 @@ +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.7' + + - name: Install dependancies + run: | + pip install pipenv + pipenv install --dev --deploy + + - name: Run tests + run: pipenv run pytest diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4ebe5b1..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: python - -python: - - "3.7" - -env: - - PIPENV_IGNORE_VIRTUALENVS=1 - -install: - - pip install pipenv - - pipenv install --dev --deploy - -script: - - pipenv run pytest - -notifications: - email: false