Skip to content

.

. #123

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
paths-ignore: [ "*.md", "docs", "deploy", "config", ".github", "scripts" ]
pull_request:
branches: ["main"]
paths-ignore: [ "*.md", "docs", "deploy", "config", ".github", "scripts" ]
jobs:
build-test:
runs-on: windows-latest
if: |
contains(github.event.commits[0].message, '[skip ci]') == false &&
contains(github.event.commits[0].message, '[ci skip]') == false
steps:
- uses: actions/checkout@v3
# https://github.com/actions/setup-go/issues/326
# https://github.com/testcontainers/testcontainers-go/issues/1359
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.4
id: go
- name: Install Dependencies
run: make install-dependencies
# https://pkg.go.dev/cmd/go#hdr-Compile_packages_and_dependencies
# https://pkg.go.dev/cmd/go#hdr-Package_lists_and_patterns
- name: Build
run: make build
# https://go.dev/doc/articles/race_detector
# https://dev.to/s0xzwasd/run-tests-with-race-flag-in-goland-512j
- name: Unit Tests
run: make unit-test
# there are some problem with test-container library in the github-actions!! locally all tests will pass
- name: Integration Tests
run: make integration-test
- name: End-To-End Tests
run: make e2e-test