Skip to content

Commit

Permalink
[Add]: workflow and script for running tests (#1)
Browse files Browse the repository at this point in the history
* [Add]: workflow and script for running tests

* [fix]: bug

* [fix]: bug
  • Loading branch information
abesheknarayan authored May 28, 2022
1 parent aac6fb5 commit 676a7bd
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build & Test
on:
push:
branches:
- 'master'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest

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

- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: '1.18.2'

- name: Build Module
run: |
go build
- name: Execute tests
run: |
bash run_tests.sh
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ Go-CaskDB is a disk-based, embedded, persistent, key-value store based on the [R
## Tasks
- [x] Get, Set KV using disk as store
- [x] Loading data from disk onto memory
- [x] testing
- [ ] Support for generic key and values (right now only for strings)
- [ ] Proper logging
- [ ] need better way of handling bytes (very bad rn)
- [ ] testing and benchmarks
- [ ] Benchmarking
- [ ] Crash Safety
- [ ] Key Deletion
- [ ] RB-tree to support range scans
Expand Down
4 changes: 3 additions & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
go test ./format ./stores
go test ./format ./stores
code=$?
exit $code

0 comments on commit 676a7bd

Please sign in to comment.