diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml new file mode 100644 index 0000000..86b46e2 --- /dev/null +++ b/.github/workflows/django.yml @@ -0,0 +1,24 @@ +name: Django CI + +on: [push, pull_request] +jobs: + Test: + name: Django + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.9 + - name: Install Poetry + uses: snok/install-poetry@v1.1.2 + with: + virtualenvs-create: true + virtualenvs-in-project: true + - name: Install dependencies + run: | + poetry install --no-root + - name: Run Tests + run: | + poetry run python manage.py test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 763e91f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -language: python -python: 3.9 -before_install: -- pip install poetry -- poetry --version -install: -- poetry install --no-root -v -script: -- python manage.py test -deploy: - provider: heroku - api_key: - secure: FsGQjNWIYUfz3+pwoKfBSIXKOFbKz74aZuCL1sOXnX3zZLSEwQ4Hlle32hjugrzYuqWNUX/gXg1bi8zJVcjS3xx9Si+jbZiY7LMLxCFFouLrfXxyJ3u2w2vepOpYRobbPCr0z6ubji4wf8UDmjDWGO6KD18CCpgCFlhd84xxApdCY2xbC9oXt/vMOPmyfIK1CT+thFSmQDVFw6mN88indJ2DkD8L17NE54duGQtwrtou5WAb4YrN1OJuO3aI38UipWLpkNdhBrJklhJjq0DhEDKkgX8KtLruz0+uUf4tLameaKJQijBsrpQSKDv5nu6d8dP6ZoRqNLcaKSGmnmu5EtYaQy3U7+a7KupQEkHejvZeCC6hW4w7CLfs9y07Jj6pSRvxSiljdzkkKEFNMDMTUgNEquKY7j1FDxNapbvST5eoSD4jHNk/FiG5yp4sWPVgCeqahNGYKx/MrG7qz50H8JCrnblbTFC6LfupcQ1S1OYtGP6JKvupJQPIzeiM1kjATC0MXNAmnxl8SR6chhdciL9z7wtn6NpZ0NEZzfI8rGz6ysVKKif9VcF1lL6Ht5S3SH1yWSq/+7wvr/BJJhhZZ8vBWcQ7BycjHg11wv/Z4j8XSyGY2atGYv7bU8+bETGTRwxxiFwnAm0x2l6/u0Qig7KlxiuzQl2yDqE2HZQn+ng= - on: master