diff --git a/.github/workflows/CodeQL.yaml b/.github/workflows/CodeQL.yaml new file mode 100644 index 0000000..1704ec3 --- /dev/null +++ b/.github/workflows/CodeQL.yaml @@ -0,0 +1,13 @@ +name: "CodeQL" + +on: + push: + branches: [ "main" ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ "main" ] + +jobs: + codeql: + name: CodeQL + uses: molssi-seamm/devops/.github/workflows/CodeQL.yaml@main diff --git a/.github/workflows/Docs.yaml b/.github/workflows/Docs.yaml deleted file mode 100644 index 7654130..0000000 --- a/.github/workflows/Docs.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: Documentation - -on: push - -jobs: - docs: - name: Docs ubuntu-latest Py3.9 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - with: - # This gets all branches (1 = only current branch) - fetch-depth: 0 - - name: Additional info about the build - shell: bash - run: | - uname -a - df -h - ulimit -a - # More info on options: https://github.com/conda-incubator/setup-miniconda - - uses: conda-incubator/setup-miniconda@v2 - with: - python-version: 3.9 - environment-file: devtools/conda-envs/test_env.yaml - activate-environment: test - auto-update-conda: false - auto-activate-base: false - show-channel-urls: true - - name: Install package - # conda setup requires this special shell - shell: bash -l {0} - run: | - python -m pip install . --no-deps - conda list - - name: Build documentation - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - shell: bash -l {0} - run: | - docs/buildDocs.sh