diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 875943ce..4420e416 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,32 +1,32 @@ on: [push, pull_request] name: Tests jobs: - # all_tests_27: - # strategy: - # fail-fast: false - # matrix: - # config: - # - ["plone52-py27", "plone/test-with-tox:5.2-2.7"] - # runs-on: ubuntu-20.04 - # container: - # image: ${{ matrix.config[1] }} - # name: ${{ matrix.config[0] }} - # steps: - # - uses: actions/checkout@v3 - # - name: Test - # run: tox -e ${{ matrix.config[0] }} + all_tests_27: + strategy: + fail-fast: false + matrix: + config: + - ["plone52-py27", "plone/test-with-tox:5.2-2.7"] + runs-on: ubuntu-20.04 + container: + image: ${{ matrix.config[1] }} + name: ${{ matrix.config[0] }} + steps: + - uses: actions/checkout@v3 + - name: Test + run: tox -e ${{ matrix.config[0] }} all_tests: strategy: fail-fast: false matrix: config: # [Python version, tox env] - # - ["3.6", "plone52-py36"] - # - ["3.7", "plone52-py37"] - # - ["3.8", "plone52-py38"] - # - ["3.8", "plone60-py38"] - # - ["3.9", "plone60-py39"] - # - ["3.10", "plone60-py310"] + - ["3.6", "plone52-py36"] + - ["3.7", "plone52-py37"] + - ["3.8", "plone52-py38"] + - ["3.8", "plone60-py38"] + - ["3.9", "plone60-py39"] + - ["3.10", "plone60-py310"] - ["3.11", "plone60-py311"] name: ${{ matrix.config[1] }} runs-on: ubuntu-20.04 @@ -48,6 +48,8 @@ jobs: run: | python -m pip install --upgrade pip pip install tox + apt-get update + apt-get install -y firefox - name: Prepare buildout egg cache run: | mkdir ~/.buildout @@ -64,17 +66,12 @@ jobs: - name: Install Firefox uses: browser-actions/setup-firefox@v1 with: - # firefox-version: "115.0" + firefox-version: "119.0.1" token: ${{ secrets.GITHUB_TOKEN }} - name: Install Geckodriver uses: browser-actions/setup-geckodriver@latest with: - # geckodriver-version: "0.32.2" + geckodriver-version: "0.33.0" token: ${{ secrets.GITHUB_TOKEN }} - name: Test run: tox -e ${{ matrix.config[1] }} - - name: Debug geckodriver - if: ${{ failure() }} - run: | - geckodriver -vv - find -name geckodriver.log -exec bash -c 'echo "----------------"; echo "$0"; cat "$0"' {} \;