From 37c996b44acdd8083175a51d88115ffad5ce7e16 Mon Sep 17 00:00:00 2001 From: Rossen <2720787+rossengeorgiev@users.noreply.github.com> Date: Wed, 16 Dec 2020 18:40:51 +0000 Subject: [PATCH] Add coverals actions + build docs steps --- .github/workflows/testing_initiative.yml | 37 ++++++++++++++++++++---- 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/.github/workflows/testing_initiative.yml b/.github/workflows/testing_initiative.yml index 890cabc..d3867a8 100644 --- a/.github/workflows/testing_initiative.yml +++ b/.github/workflows/testing_initiative.yml @@ -10,7 +10,7 @@ on: branches: [ master ] jobs: - build: + test: runs-on: ${{ matrix.os }} strategy: matrix: @@ -36,8 +36,33 @@ jobs: - name: Run Tests run: | PYTHONHASHSEED=0 pytest --cov=steam tests - - name: Submit coveralls - env: - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} - run: | - coveralls + - name: Coveralls Parallel + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + flag-name: run-${{ matrix.test_number }} + parallel: true + finish: + needs: test + runs-on: ubuntu-latest + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + parallel-finished: true + build-docs: + run-on: ubuntu-latest + python-version: 3.6 + steps: + - uses: actions/checkout@v2 + - name: Set up Python Env + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Display Python version + run: python -c "import sys; print(sys.version)" + - name: Install dependencies + run: make init + - name: Build Docs + run: make docs