mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Update test zoo
- Remove 'version' from docker-compose.yml - Add Asciidoctor version to informative output - Fix Asciidoctor install on OpenSUSE Tumbleweed - Add Ubuntu 24.04 to test zoo - Drop Ubuntu 18.04 from test zoo - Add Fedora 40 to test zoo - Add Fedora 41 to test zoo - Drop Fedora 37 from test zoo - Drop Fedora 38 from test zoo Closes #648
This commit is contained in:
parent
c0b049f469
commit
77f66969c5
15 changed files with 38 additions and 39 deletions
14
.github/workflows/tests.yaml
vendored
14
.github/workflows/tests.yaml
vendored
|
@ -24,27 +24,27 @@ jobs:
|
|||
- name: "Debian Testing"
|
||||
runner: ubuntu-latest
|
||||
container: debiantesting
|
||||
- name: "Fedora 37"
|
||||
- name: "Fedora 40"
|
||||
runner: ubuntu-latest
|
||||
container: fedora37
|
||||
- name: "Fedora 38"
|
||||
container: fedora40
|
||||
- name: "Fedora 41"
|
||||
runner: ubuntu-latest
|
||||
container: fedora38
|
||||
container: fedora41
|
||||
- name: "OpenSUSE Leap"
|
||||
runner: ubuntu-latest
|
||||
container: opensuseleap
|
||||
- name: "OpenSUSE Tumbleweed"
|
||||
runner: ubuntu-latest
|
||||
container: opensusetumbleweed
|
||||
- name: "Ubuntu 18.04"
|
||||
runner: ubuntu-latest
|
||||
container: ubuntu1804
|
||||
- name: "Ubuntu 20.04"
|
||||
runner: ubuntu-latest
|
||||
container: ubuntu2004
|
||||
- name: "Ubuntu 22.04"
|
||||
runner: ubuntu-latest
|
||||
container: ubuntu2204
|
||||
- name: "Ubuntu 24.04"
|
||||
runner: ubuntu-latest
|
||||
container: ubuntu2204
|
||||
- name: "macOS 13"
|
||||
runner: macos-13
|
||||
container: osx-13
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
version: '3'
|
||||
services:
|
||||
test-alpine-edge:
|
||||
build:
|
||||
|
@ -48,18 +47,18 @@ services:
|
|||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
tty: true
|
||||
test-fedora37:
|
||||
test-fedora40:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: test/docker/fedora37
|
||||
dockerfile: test/docker/fedora40
|
||||
network_mode: "host"
|
||||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
tty: true
|
||||
test-fedora38:
|
||||
test-fedora41:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: test/docker/fedora38
|
||||
dockerfile: test/docker/fedora41
|
||||
network_mode: "host"
|
||||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
|
@ -80,14 +79,6 @@ services:
|
|||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
tty: true
|
||||
test-ubuntu1804:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: test/docker/ubuntu1804
|
||||
network_mode: "host"
|
||||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
tty: true
|
||||
test-ubuntu2004:
|
||||
build:
|
||||
context: .
|
||||
|
@ -104,3 +95,11 @@ services:
|
|||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
tty: true
|
||||
test-ubuntu2404:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: test/docker/ubuntu2404
|
||||
network_mode: "host"
|
||||
security_opt:
|
||||
- label=type:container_runtime_t
|
||||
tty: true
|
||||
|
|
|
@ -31,4 +31,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
||||
|
|
|
@ -31,4 +31,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
||||
|
|
|
@ -32,4 +32,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
||||
|
|
|
@ -36,4 +36,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
||||
|
|
|
@ -38,4 +38,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
||||
|
|
|
@ -40,4 +40,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM fedora:37
|
||||
FROM fedora:40
|
||||
|
||||
RUN dnf update -y
|
||||
RUN dnf install -y \
|
||||
|
@ -31,4 +31,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
|
@ -1,4 +1,4 @@
|
|||
FROM fedora:38
|
||||
FROM fedora:41
|
||||
|
||||
RUN dnf update -y
|
||||
RUN dnf install -y \
|
||||
|
@ -31,4 +31,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
|
@ -35,4 +35,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
||||
|
|
|
@ -7,10 +7,9 @@ RUN zypper install -y \
|
|||
man \
|
||||
python3 \
|
||||
python3-python-dateutil \
|
||||
ruby
|
||||
ruby \
|
||||
ruby3.4-rubygem-asciidoctor
|
||||
|
||||
RUN gem install asciidoctor -v 2.0.17
|
||||
RUN update-alternatives --install /usr/bin/asciidoctor asciidoctor /usr/bin//asciidoctor.ruby3.3 10
|
||||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
|
||||
ENV TZ=Europe/Berlin
|
||||
|
||||
|
@ -33,4 +32,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
||||
|
|
|
@ -39,4 +39,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
||||
|
|
|
@ -39,4 +39,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu:18.04
|
||||
FROM ubuntu:24.04
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
|
@ -10,6 +10,7 @@ RUN apt-get install -y \
|
|||
git \
|
||||
locales \
|
||||
man \
|
||||
man-db \
|
||||
python3 \
|
||||
python3-dateutil \
|
||||
tzdata
|
||||
|
@ -38,4 +39,4 @@ RUN make install
|
|||
WORKDIR /root/code/test/
|
||||
RUN make -j2
|
||||
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; asciidoctor --version ; exit $FAILED"]
|
Loading…
Add table
Add a link
Reference in a new issue