Skip to content

Commit

Permalink
ci: introduce continuous smoke testing (#1611)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio-Guerra committed Dec 8, 2022
1 parent 0ab9332 commit 3983e27
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/smoke-tests.yml
@@ -0,0 +1,34 @@
name: Smoke Tests

on:
push:
branches:
- main
- release-*
tags:
- '**'
schedule: # nightly
- cron: "0 0 * * *"
workflow_dispatch: {} #manually

jobs:
go-get-u:
# Run go get -u to upgrade dd-trace-go dependencies to their
# latest minor version and see if dd-trace-go still compiles.
# Related to issue https://github.com/DataDog/dd-trace-go/issues/1607
name: 'dd-trace-go still works after go get -u'
runs-on: ubuntu-latest
env:
PACKAGES: ./internal/... ./ddtrace/... ./profiler/... ./appsec/...
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version: 1.18
cache: true
- name: go get -u
run: go get -u $PACKAGES
- name: Compile dd-trace-go
run: go build -tags appsec $PACKAGES
- name: Test dd-trace-go
run: go test -tags appsec $PACKAGES

0 comments on commit 3983e27

Please sign in to comment.