Remove Travis dependence for testing, build & deploy #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
- 'release/**' | |
jobs: | |
check-version: | |
name: Check version bumped | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Initialize the environment | |
uses: ./.github/actions/initialize | |
- name: Check version | |
run: python scripts/validate_version_bump.py | |
linting: | |
name: Run linting with flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Initialize the environment | |
uses: ./.github/actions/initialize | |
- name: Lint the source directory | |
run: flake8 gemd | |
check-deprecated: | |
name: Find code marked for removal in this version | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Initialize the environment | |
uses: ./.github/actions/initialize | |
- name: Deprecated check | |
run: derp . gemd/__version__.py | |
check-docs: | |
name: Check docs for warnings | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Initialize the environment | |
uses: ./.github/actions/initialize | |
with: | |
documentation: 'true' | |
- name: Build Docs | |
continue-on-error: true | |
run: make -C docs/ html SPHINXOPTS='-W --keep-going' |