diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-01-06 11:23:40 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-01-06 11:23:40 -0500 |
| commit | 0bffeb825aab8429f41be7c8f1872e3d15d1db0b (patch) | |
| tree | 379d9fbf1b45741fa8994f02a35d3cf759be1ffe /.github/workflows/test.yml | |
| parent | Add database integration tests (diff) | |
| download | cli-0bffeb825aab8429f41be7c8f1872e3d15d1db0b.zip | |
Add workflow to run tests
Diffstat (limited to '.github/workflows/test.yml')
| -rw-r--r-- | .github/workflows/test.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..a2b2106 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: Test + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Source Code + uses: actions/checkout@v3 + - name: Setup Docker Compose Stack + run: docker compose up --detach + - name: Run Tests + run: docker exec bolt go test -cover ./... |