diff --git a/.github/scripts/run-oats-tests.sh b/.github/scripts/run-oats-tests.sh index eaa24a2fc..7775fb7c5 100755 --- a/.github/scripts/run-oats-tests.sh +++ b/.github/scripts/run-oats-tests.sh @@ -8,8 +8,5 @@ popd wget -q -O - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash -cd oats/yaml -go install github.com/onsi/ginkgo/v2/ginkgo@latest -export TESTCASE_TIMEOUT=5m -export TESTCASE_BASE_PATH=../.. -ginkgo -r --github-output +go install github.com/grafana/oats@v0.2.0 +oats -timeout 5m logging-k8s-stdout-otlp-json/ diff --git a/.github/workflows/oats-tests.yml b/.github/workflows/oats-tests.yml index 995051fcb..466a6170f 100644 --- a/.github/workflows/oats-tests.yml +++ b/.github/workflows/oats-tests.yml @@ -27,18 +27,10 @@ jobs: with: cache-read-only: ${{ github.event_name == 'pull_request' }} - - name: Check out oats - uses: actions/checkout@v4 - with: - repository: grafana/oats - ref: v0.1.0 - path: oats - - name: Set up Go uses: actions/setup-go@v5 with: go-version: '1.24' - cache-dependency-path: oats/go.sum - name: Run acceptance tests run: .github/scripts/run-oats-tests.sh @@ -47,5 +39,5 @@ jobs: uses: actions/upload-artifact@v4 if: failure() with: - name: OATS logs - path: oats/yaml/build/**/*.log + name: OATs logs + path: build/**/*.log