Skip to content

Add CI workflow#14

Open
n0y0nD wants to merge 1 commit intoOpenPrinting:mainfrom
n0y0nD:ci-setup
Open

Add CI workflow#14
n0y0nD wants to merge 1 commit intoOpenPrinting:mainfrom
n0y0nD:ci-setup

Conversation

@n0y0nD
Copy link
Copy Markdown

@n0y0nD n0y0nD commented Mar 18, 2026

Adds a CI workflow using GitHub Actions to build and test the project on each push and pull request.

The workflow:
• builds the project using cargo build
• runs tests using cargo test

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ea759e17b8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +21 to +25
- name: Install dependencies (Linux)
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libcups2-dev
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Provision a CUPS destination before running the Linux tests

In the ubuntu-latest job this only installs libcups2-dev; it never starts cupsd or creates a printer. Every integration test in tests/integration_tests.rs is gated by cups_available(), which returns immediately unless get_all_destinations() can talk to a real destination, so the Linux leg will go green while the printer/job integration coverage is skipped entirely. That means CI will miss regressions in the core CUPS workflows this crate wraps.

Useful? React with 👍 / 👎.

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.

1 participant