diff --git a/.github/workflows/on-commit.yml b/.github/workflows/on-commit.yml index aa730c8..fd9669f 100644 --- a/.github/workflows/on-commit.yml +++ b/.github/workflows/on-commit.yml @@ -26,37 +26,24 @@ jobs: exit 0 fi - setup-python: + run-main: runs-on: ubuntu-latest - needs: [fetch-commit-message, check-no-ci] steps: - uses: actions/checkout@v2 - name: "Set up Python" uses: actions/setup-python@v2 with: python-version: '3.x' - - install-dependencies: - runs-on: ubuntu-latest - needs: setup-python - steps: - - uses: actions/checkout@v2 - name: "Install dependencies" run: | python -m pip install --upgrade pip pip install -r requirements.txt - - run-all: - runs-on: ubuntu-latest - needs: install-dependencies - steps: - - uses: actions/checkout@v2 - name: "Run all" run: python ./src/runall.py commit-results: runs-on: ubuntu-latest - needs: run-all + needs: run-main steps: - uses: actions/checkout@v2 - name: "Commit results"