mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 18:01:00 -05:00
IPv6 tests
This commit is contained in:
parent
00a4cd9916
commit
875414b617
3 changed files with 16 additions and 2 deletions
|
@ -11,8 +11,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
info:
|
info:
|
||||||
- version: "1.21.0-7-rc2"
|
- version: "1.21"
|
||||||
image: codeberg.org/forgejo-experimental/forgejo
|
image: codeberg.org/forgejo/forgejo
|
||||||
- version: "1.20"
|
- version: "1.20"
|
||||||
image: codeberg.org/forgejo/forgejo
|
image: codeberg.org/forgejo/forgejo
|
||||||
steps:
|
steps:
|
||||||
|
@ -29,3 +29,5 @@ jobs:
|
||||||
|
|
||||||
echo "============================ demo ==================="
|
echo "============================ demo ==================="
|
||||||
forgejo-test-helper.sh run_workflow testdata/demo $url root demo setup-forgejo $token
|
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
|
||||||
|
|
|
@ -19,6 +19,7 @@ cache:
|
||||||
|
|
||||||
container:
|
container:
|
||||||
network: "bridge"
|
network: "bridge"
|
||||||
|
enable_ipv6: true
|
||||||
privileged: false
|
privileged: false
|
||||||
options:
|
options:
|
||||||
workdir_parent:
|
workdir_parent:
|
||||||
|
|
11
testdata/ipv6/.forgejo/workflows/test.yml
vendored
Normal file
11
testdata/ipv6/.forgejo/workflows/test.yml
vendored
Normal 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
|
Loading…
Reference in a new issue