Skip to content

Commit

Permalink
Add pipeline to test against git latest, 2.34.1, 2.25.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bicschneider committed Nov 23, 2023
1 parent 2f7a2c7 commit 18af9aa
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run tests git-native
run: |
git config --global user.email "[email protected]"
git config --global user.name "Git Artifact"
git --version
verbose=true bash _tests.sh || {
exit_code=$?
find . -name run.log
find . -name run.log | xargs -I % cat %
exit $exit_code
}

0 comments on commit 18af9aa

Please sign in to comment.