Skip to content

Move tests to GitHub actions#265

Open
kylegibson-rldatix wants to merge 25 commits into
masterfrom
issue_265
Open

Move tests to GitHub actions#265
kylegibson-rldatix wants to merge 25 commits into
masterfrom
issue_265

Conversation

@kylegibson-rldatix

Copy link
Copy Markdown
Collaborator

No description provided.

@kylegibson-rldatix kylegibson-rldatix self-assigned this May 19, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a GitHub Actions CI workflow intended to run the project’s test suite across multiple (including very old) Python versions, and adjusts the testing requirements to pin flake8.

Changes:

  • Add .github/workflows/ci.yml to run nosetests --with-doctest in containerized Python environments (2.6–3.8).
  • Pin flake8 to a specific version in requirements/testing.txt.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.

File Description
requirements/testing.txt Pins flake8 in the testing dependency set.
.github/workflows/ci.yml Adds a GitHub Actions workflow with “superlegacy” and “legacy” test jobs using Docker/container execution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread requirements/testing.txt
coverage==3.6
nose==1.3.0
flake8
flake8==3.3.0
Comment thread .github/workflows/ci.yml
Comment on lines +72 to +77
- name: Install dependencies
run: pip install --requirement requirements/testing.txt
- name: Install PyDocX
run: pip install -e .[dev] # editable install so CLI entry points are available
- name: Run tests
run: nosetests --with-doctest
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread requirements/testing.txt
Comment on lines 1 to +4
Jinja2>=2.0
coverage==3.6
nose==1.3.0
flake8
flake8==3.3.0
Comment thread .github/workflows/ci.yml
Comment on lines +54 to +61
- python: "2.7"
image: python:2.7-slim
- python: "3.6"
image: python:3.6-slim
- python: "3.7"
image: python:3.7-slim
- python: "3.8"
image: python:3.8-slim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants