Skip to content

Commit

Permalink
chore: add gha test
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Mar 10, 2021
1 parent 5df0b30 commit baa12e0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test-github-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
name: test
steps:
- uses: actions/checkout@v2
- name: docker-up
run: 'cp .env.example .env && docker-compose up -d'
- name: test
run: 'sleep 5 && docker-compose exec -T urlsh sh -c "APP_ENV=test go test -cover ./..."'

0 comments on commit baa12e0

Please sign in to comment.