Skip to content

Remove Travis dependence for testing, build & deploy #5

Remove Travis dependence for testing, build & deploy

Remove Travis dependence for testing, build & deploy #5

Workflow file for this run

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'