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
2 changes: 1 addition & 1 deletion .github/common.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Shared common variables

CI_IMAGE_VERSION=master-1408971201
CI_IMAGE_VERSION=master-1571408207
CI_TOXENV_ALL=py38,py39,py310,py311,py312
CI_TOXENV_MASTER=py38-bst-master,py39-bst-master,py310-bst-master,py311-bst-master,py312-bst-master
4 changes: 2 additions & 2 deletions .github/compose/ci.docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ services:
<<: *tests-template
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:40-${CI_IMAGE_VERSION:-latest}

ubuntu-20.04:
ubuntu-22.04:
<<: *tests-template
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-ubuntu:20.04-${CI_IMAGE_VERSION:-latest}
image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-ubuntu:22.04-${CI_IMAGE_VERSION:-latest}

# Ensure that tests also pass in the absence of a sandboxing tool
fedora-missing-deps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ concurrency:

jobs:
tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
continue-on-error: ${{ matrix.allow-failure || false }}

strategy:
Expand All @@ -39,7 +39,7 @@ jobs:
- debian-11
- fedora-40
- fedora-missing-deps
- ubuntu-20.04
- ubuntu-22.04
- lint
- mypy

Expand All @@ -59,7 +59,7 @@ jobs:
${GITHUB_WORKSPACE}/.github/run-ci.sh ${{ matrix.test-name }}

docs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v2
Expand All @@ -75,7 +75,7 @@ jobs:
${GITHUB_WORKSPACE}/.github/run-ci.sh docs

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: docs
path: doc/build/html
8 changes: 4 additions & 4 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build:
name: Build documentation
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -31,7 +31,7 @@ jobs:
tar -C doc/build/html -zcf docs.tgz .

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: docs
path: |
Expand All @@ -40,11 +40,11 @@ jobs:

publish:
needs: build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:

- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: docs
path: docs
Expand Down
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ disable=
too-many-lines,
too-many-locals,
too-many-nested-blocks,
too-many-positional-arguments,
too-many-public-methods,
too-many-statements,
too-many-return-statements,
Expand Down
14 changes: 14 additions & 0 deletions tests/bzr_wrapper
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

if [ -x "/usr/bin/bzr" ]; then

cat > "${1}/bzr" << 'EOF'
#!/bin/bash

export PATH=/usr/bin

exec /usr/bin/bzr "$@"
EOF

chmod +x "${1}/bzr"
fi
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ skip_missing_interpreters = true
[testenv]
commands =
bst --version
./tests/bzr_wrapper {envdir}/bin
pytest --basetemp {envtmpdir} {posargs}
deps =
-rrequirements/test-requirements.txt
Expand Down Expand Up @@ -60,10 +61,11 @@ setenv =
!master: BST_VERSION = 2.2.1
master: BST_VERSION = master

whitelist_externals =
allowlist_externals =
py{38,39,310,311,312}:
mv
mkdir
./tests/bzr_wrapper

#
# Code formatters
Expand Down Expand Up @@ -132,7 +134,7 @@ passenv =
HOME
LANG
LC_ALL
whitelist_externals =
allowlist_externals =
make


Expand Down