Skip to content

Run tests in CI#8

Merged
GochoMugo merged 2 commits into
masterfrom
copilot/add-github-actions-workflow
Nov 5, 2025
Merged

Run tests in CI#8
GochoMugo merged 2 commits into
masterfrom
copilot/add-github-actions-workflow

Conversation

Copilot AI commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

Adds GitHub Actions workflow to automate test execution on pushes and pull requests to master.

Changes

  • Added .github/workflows/test.yml with:
    • Checkout with submodules enabled (for bats test framework)
    • Build dependencies installation (build-essential, g++)
    • Test execution via make test

The workflow replaces the existing Travis CI configuration with GitHub Actions.

Original prompt

Create a pull request titled "Run tests in CI" that adds a GitHub Actions workflow for running tests.

Add a new file .github/workflows/test.yml with the following content:

name: Tests

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  test:
    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v4
      with:
        submodules: true
    
    - name: Install dependencies
      run: |
        sudo apt-get update
        sudo apt-get install -y build-essential g++
    
    - name: Run tests
      run: make test

This workflow will automatically run tests using make test on pushes and pull requests to the master branch.

This pull request was created as a result of the following prompt from Copilot chat.

Create a pull request titled "Run tests in CI" that adds a GitHub Actions workflow for running tests.

Add a new file .github/workflows/test.yml with the following content:

name: Tests

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  test:
    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v4
      with:
        submodules: true
    
    - name: Install dependencies
      run: |
        sudo apt-get update
        sudo apt-get install -y build-essential g++
    
    - name: Run tests
      run: make test

This workflow will automatically run tests using make test on pushes and pull requests to the master branch.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: GochoMugo <4707579+GochoMugo@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub Actions workflow to run tests Run tests in CI Nov 5, 2025
Copilot AI requested a review from GochoMugo November 5, 2025 05:35
@GochoMugo GochoMugo marked this pull request as ready for review November 5, 2025 05:41
@GochoMugo GochoMugo merged commit caea7fc into master Nov 5, 2025
2 checks passed
@GochoMugo GochoMugo deleted the copilot/add-github-actions-workflow branch November 7, 2025 15:21
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