X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.github%2Fworkflows%2Frun-tests.yaml;h=e6378d2de0470d6f98219449e202e8283e86e595;hb=65e154f86143ed4ddf0b362f06d589035d7dae74;hp=76d8b096d72f74279e42952c0b89e7f8cc4fdc35;hpb=a70c4953b22b0495b09ccf843d6f507e6837f943;p=m_librarian.git diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 76d8b09..e6378d2 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -6,6 +6,7 @@ jobs: run-tests: strategy: + fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9] @@ -24,6 +25,8 @@ jobs: runs-on: ${{ matrix.os }} steps: + + # Setup Python/pip - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: @@ -33,13 +36,14 @@ jobs: with: path: ${{ matrix.pip-cache-path }} key: ${{ runner.os }}-pip + + # Setup tox - name: Install dependencies run: | python --version python -m pip install --upgrade "pip<21.0" "setuptools<45" wheel pip --version - python -m pip --version - python -m pip install --upgrade virtualenv tox + pip install --upgrade virtualenv tox - name: Set TOXENV run: | import os, sys @@ -52,7 +56,8 @@ jobs: with open(os.environ['GITHUB_ENV'], 'a') as f: f.write('TOXENV=' + toxenv + '\n') shell: python + - name: Run tox run: | python -c "import os; print(os.environ['TOXENV'])" - python -m tox + tox