name: pre-build # Run this workflow every time a new commit pushed to your repository on: push jobs: # Set the job key. The key is displayed as the job name # when a job name is not provided pre-build: # Name the Job name: Pre-Build # Set the type of machine to run on runs-on: ubuntu-latest steps: # Checks out a copy of your repository on the ubuntu-latest machine - uses: actions/checkout@v2 - name: Set up Python 3.8 uses: actions/setup-python@v2 with: python-version: '3.8' # Runs the Super-Linter action - name: Style check run: | pip install flake8 python setup.py style - name: Build Docs run: | cd doc python -m pip install -r requirements.txt make html SPHINXOPTS='-W -v'