Skip to content

Commit

Permalink
Create config.yml
Browse files Browse the repository at this point in the history
Signed-off-by: NxPKG <[email protected]>
  • Loading branch information
NxPKG authored Jan 7, 2025
1 parent 06b3b41 commit 76d3921
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: 2.1

jobs:
build:
docker:
- image: circleci/golang:1.16
steps:
- checkout
- setup_remote_docker:
version: 20.10.7
- run:
name: Build Docker Image
command: |
docker-compose -f app/docker-compose.yml build
- run:
name: Run Tests
command: |
docker-compose -f app/docker-compose.yml run --rm gpt4cli-server go test ./...
workflows:
version: 2
build_and_test:
jobs:
- build:
filters:
branches:
only:
- main

0 comments on commit 76d3921

Please sign in to comment.