Skip to content

chore: add link to presentation video #21

chore: add link to presentation video

chore: add link to presentation video #21

Workflow file for this run

name: Go
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Build server
run: docker build -f ./app_to_test/server/Dockerfile -t expense_tracker/server:latest .
- name: Build migrate
run: docker build -t expense_tracker/migrate:latest ./app_to_test/db
- name: Tests
run: go test -v ./...
- name: E2E Tests
run: |
# Run only e2e tests
PKGS=$(git grep --files-with-matches "//go:build e2e_tests" -- "*.go" | xargs dirname | sed 's,^,./,g' | sort -u)
go test -tags=e2e_tests $PKGS