From 062105e82ebd1807cc9b75fd924d9e730b220c58 Mon Sep 17 00:00:00 2001 From: Arona Jones Date: Mon, 25 Jan 2021 00:18:25 +0000 Subject: [PATCH] Nope, switch to monolithic build step --- .github/workflows/django.yml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index c7f968fe..253091ce 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -11,19 +11,12 @@ jobs: env: IMGUR_UPLOAD_CLIENT_ID: ${{ secrets.IMGUR_UPLOAD_CLIENT_ID }} IMGUR_UPLOAD_CLIENT_SECRET: ${{ secrets.IMGUR_UPLOAD_CLIENT_SECRET }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" - strategy: - max-parallel: 1 - matrix: - python-version: [3.8] - + container: python:3-slim steps: - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - name: Setup Chromedriver run: | wget https://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip @@ -34,7 +27,7 @@ jobs: - name: Install Dependencies run: | python -m pip install --upgrade pip - pip install pycodestyle + pip install pycodestyle coverage coveralls pip install -r requirements.txt python manage.py collectstatic --noinput - name: Basic Checks @@ -42,16 +35,6 @@ jobs: pycodestyle . --exclude=migrations,importer* python manage.py check python manage.py makemigrations --check --dry-run - - test: - runs-on: ubuntu-latest - container: python:3-slim - needs: build - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - steps: - - name: Install Dependencies - run: pip install coverage coveralls - name: Run Tests run: coverage run python manage.py test --verbosity=2 - name: Upload coverage data to coveralls.io