Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: run tests against latest Docker engine, nightly #2558

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 0 additions & 145 deletions .github/workflows/ci.yml

This file was deleted.

51 changes: 51 additions & 0 deletions .github/workflows/docker-moby-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Tests agains Latest Docker Moby
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name: Tests agains Latest Docker Moby
name: Tests against Latest Docker Moby


on:
pull_request:
types: [opened, synchronize, reopened]
schedule:
# nightly build, at 23:59 CEST
- cron: '59 23 * * *'

jobs:
test_latest_moby:
name: "Core tests using latest moby/moby"
runs-on: 'ubuntu-latest'
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5
with:
go-version-file: 'go.mod'
cache-dependency-path: 'go.sum'
id: go

- name: modVerify
run: go mod verify

- name: modTidy
run: go mod tidy

- name: Install Latest Docker
run: curl https://get.docker.com | CHANNEL=test sh

- name: go test
timeout-minutes: 30
run: make test-unit

- name: Notify to Slack on failures
id: slack
uses: slackapi/slack-github-action@v1.26.0
with:
# This data can be any valid JSON from a previous step in the GitHub Action
payload: |
{
"tc_project": "testcontainers-go",
"tc_github_action_url": "https://github.com/testcontainers/testcontainers-go/actions/runs/${{ env.GITHUB_RUN_ID }}/job/${{ env.GITHUB_RUN_NUMBER }}",
"tc_github_action_status": "FAILED",
"tc_slack_channel_id": "${{ secrets.SLACK_DOCKER_LATEST_CHANNEL_ID }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DOCKER_LATEST_WEBHOOK }}
Loading