IPv6 tests

This commit is contained in:
Earl Warren 2023-12-02 21:37:56 +01:00
parent 00a4cd9916
commit 875414b617
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 16 additions and 2 deletions

View file

@ -11,8 +11,8 @@ jobs:
strategy:
matrix:
info:
- version: "1.21.0-7-rc2"
image: codeberg.org/forgejo-experimental/forgejo
- version: "1.21"
image: codeberg.org/forgejo/forgejo
- version: "1.20"
image: codeberg.org/forgejo/forgejo
steps:
@ -29,3 +29,5 @@ jobs:
echo "============================ demo ==================="
forgejo-test-helper.sh run_workflow testdata/demo $url root demo setup-forgejo $token
echo "============================ IPv6 ==================="
forgejo-test-helper.sh run_workflow testdata/ipv6 $url root ipv6 setup-forgejo $token

View file

@ -19,6 +19,7 @@ cache:
container:
network: "bridge"
enable_ipv6: true
privileged: false
options:
workdir_parent:

View file

@ -0,0 +1,11 @@
on: [push]
jobs:
ipv6:
runs-on: docker
container:
image: debian:bookworm
steps:
- run: |
set -x
apt update -qq ; apt --quiet install -qq --yes iputils-ping
ping -c 1 -6 ::1