Skip to content

Commit

Permalink
ci: run make test during workflow
Browse files Browse the repository at this point in the history
Tests for examples exist and are run as part of the Makefile test
target, however they were not being run as part of the CI. This commit
fixes it by adding a new step in the test workflow which runs said
target.

Related to go-git#912.

k
  • Loading branch information
crazybolillo committed Mar 11, 2024
1 parent ca05e2c commit 7e0e465
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,10 @@ jobs:
git config --global user.email "gha@example.com"
git config --global user.name "GitHub Actions"
- name: Test
- name: Test Coverage
run: make test-coverage

- name: Test
env:
EXAMPLES_DIR: _examples
run: make test

0 comments on commit 7e0e465

Please sign in to comment.