Skip to content

Commit

Permalink
git ignore bashunit, rather install it as vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Nov 9, 2023
1 parent e4b9901 commit c90ad5f
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1,664 deletions.
14 changes: 10 additions & 4 deletions .github/CONTRIBUTIONS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Testing
* [Documentation](https://bashunit.typeddevs.com/)

## How to run the test
Tests written in [bashunit](https://bashunit.typeddevs.com/).

Install bashunit dependency:
```bash
./lib/bashunit
```
./install-dependencies.sh
```

Run all tests:
```bash
./lib/bashunit tests
```

4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3

- name: "Install dependencies"
run: ./install-dependencies.sh

- name: "Tests"
run: ./lib/bashunit
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.idea
.idea/

lib/bashunit
4 changes: 4 additions & 0 deletions install-dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

## bashunit
curl -s https://bashunit.typeddevs.com/install.sh | bash
Loading

0 comments on commit c90ad5f

Please sign in to comment.