This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch tristan/test-workflows in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 23e2af95bae23c3e3708134ff7cb1eec1687f2ba Author: Chandan Singh <[email protected]> AuthorDate: Wed Aug 19 19:51:36 2020 +0100 Add no-usedevelop job --- .github/workflows/ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d382e08..9bed010 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,13 +35,22 @@ jobs: strategy: fail-fast: false matrix: - ci_image_name: + + # Main test targets, the name defines the image that will be used as + # the base for running tests. + test-name: - debian:10 - fedora:30 - fedora:31 - ubuntu:18.04 - centos:7.7.1908 + # Ensure that tests also pass without `--develop` flag. + include: + - test-name: no-usedevelop + toxenv: py36-nocover,py37-nocover,py38-nocover + image-name: fedora:31 + steps: - name: Check out repository uses: actions/checkout@v2 @@ -64,10 +73,10 @@ jobs: --privileged \ --device /dev/fuse \ --env PYTEST_ARGS \ - --env TOXENV \ + --env TOXENV=${{ matrix.toxenv || env.TOXENV }} \ --volume /home/runner/work:/__w \ --workdir /__w/buildstream/buildstream \ - "$CI_IMAGE_PREFIX"-${{ matrix.ci_image_name }}-"$CI_IMAGE_SUFFIX" \ + "$CI_IMAGE_PREFIX"-${{ matrix.image-name || matrix.test-name }}-"$CI_IMAGE_SUFFIX" \ bash -c 'useradd -Um buildstream && chown -R buildstream:buildstream . && su buildstream -c "tox -- $PYTEST_ARGS"' mypy:
