diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cd0e30..b1f1ced 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,25 @@ -name: CI +name: Tests on: push -env: - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} - DJANGO_SECRET_KEY: ${{ secrets.DJANGO_SECRET_KEY }} jobs: - test: - uses: mitlibraries/.github/.github/workflows/python-shared-test.yml@main - lint: - uses: mitlibraries/.github/.github/workflows/python-shared-lint.yml@main + test: + name: Run tests + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + DJANGO_SECRET_KEY: ${{ secrets.DJANGO_SECRET_KEY }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup python + uses: actions/setup-python@v2 + with: + python-version: '3.11' + architecture: x64 + - name: Install + run: | + python -m pip install --upgrade pip pipenv + pipenv install --dev + - name: Test + run: | + make test + make coveralls +