Skip to content
Merged
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
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose
run: sudo apt-get update && sudo apt-get install -y docker-compose
- name: Build the Docker images
run: docker compose -f docker-compose.test.yml build
- name: Run sanity tests
Expand All @@ -29,7 +29,7 @@ jobs:
# steps:
# - uses: actions/checkout@v4
# - name: Install docker-compose
# run: sudo apt update && sudo apt install -y docker-compose
# run: sudo apt-get update && sudo apt-get install -y docker-compose
# - name: Build the Docker images
# run: docker compose -f docker-compose.test.yml build
# - name: Run webservice tests
Expand All @@ -40,7 +40,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose
run: sudo apt-get update && sudo apt-get install -y docker-compose
- name: Build the Docker images
run: docker compose -f docker-compose.test.yml build
- name: Run bmo specific tests
Expand All @@ -51,29 +51,29 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose
run: sudo apt-get update && sudo apt-get install -y docker-compose
- name: Build the Docker images
run: docker compose -f docker-compose.test-mariadb.yml build
- name: Run bmo specific tests
run: docker compose -f docker-compose.test-mariadb.yml run -e CI=1 bugzilla6.test test_bmo -q -f t/bmo/*.t

test_bugzilla6_pg:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose docker.io
run: sudo apt-get update && sudo apt-get install -y docker-compose
- name: Build the Docker images
run: docker-compose -f docker-compose.test-pg.yml build
run: docker compose -f docker-compose.test-pg.yml build
- name: Run bmo specific tests
run: docker-compose -f docker-compose.test-pg.yml run -e CI=1 bugzilla6.test test_bmo -q -f t/bmo/*.t
run: docker compose -f docker-compose.test-pg.yml run -e CI=1 bugzilla6.test test_bmo -q -f t/bmo/*.t

test_bugzilla6_sqlite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install docker-compose
run: sudo apt update && sudo apt install -y docker-compose
run: sudo apt-get update && sudo apt-get install -y docker-compose
- name: Build the Docker images
run: docker compose -f docker-compose.test-sqlite.yml build
- name: Run bmo specific tests
Expand Down
32 changes: 18 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
ubuntu:
name: Release Tests on Ubuntu 20.04
runs-on: ubuntu-20.04
name: Release Tests on Ubuntu 24.04
runs-on: ubuntu-24.04
steps:
- name: Checkout the repository
uses: actions/checkout@v4
Expand All @@ -27,42 +27,46 @@ jobs:
~/.perl-cpm/cache
~/.perl-cpm/builds
**/local/
key: ${{ runner.os }}-ubuntu-20.04
key: ${{ runner.os }}-ubuntu-24.04
restore-keys: |
${{ runner.os }}-ubuntu-20.04
${{ runner.os }}-ubuntu-24.04
- name: apt install
run: |
sudo apt-get update
sudo apt-get -y dist-upgrade
sudo apt-get install --ignore-hold --allow-downgrades -y \
apache2 \
mariadb-client-10.3 \
netcat \
cpanminus \
mariadb-client \
netcat-traditional \
build-essential \
libapache2-mod-perl2 \
libapache2-mod-perl2-dev \
libgd3 \
libgd-dev \
perlmagick \
graphviz \
curl libssl-dev zlib1g-dev openssl \
libexpat-dev cmake git libcairo-dev \
unzip wget
- name: cpm install
unzip wget
- name: Run Makefile.PL
run: |
perl Makefile.PL
#make cpanfile GEN_CPANFILE_ARGS='-A'
perl -I$GITHUB_WORKSPACE/.github/cpm/lib/perl5 $GITHUB_WORKSPACE/.github/cpm/bin/cpm install \
&& tar -C $GITHUB_WORKSPACE \
cpanm --notest --quiet --local-lib="$GITHUB_WORKSPACE/.github/cpm/lib/perl5" Module::CPANfile
make cpanfile GEN_CPANFILE_ARGS='-A -U oracle'
- name: cpm install
run: |
perl -I"$GITHUB_WORKSPACE/.github/cpm/lib/perl5" "$GITHUB_WORKSPACE/.github/cpm/bin/cpm" install \
&& tar -C "$GITHUB_WORKSPACE" \
--exclude 'local/cache/*' \
--exclude 'local/man/*' \
--exclude '*.pod' \
-zcvf local-lib.tar.gz local
- name: Save dependencies
uses: actions/upload-artifact@v4
with:
name: ubuntu-20.04-local-lib.tar.gz
name: ubuntu-24.04-local-lib.tar.gz
path: local-lib.tar.gz
- name: Run Makefile.PL
run: 'perl Makefile.PL'
- name: Run checksetup
run: 'perl checksetup.pl --no-database --default-localconfig --no-templates'
- name: Run tests
Expand Down
Loading