From eb67cba38ffd56476d596baa86b9f19505d0b8e9 Mon Sep 17 00:00:00 2001 From: Daniele Andreotti Date: Mon, 1 Jul 2024 13:07:00 +0200 Subject: [PATCH] updated github workflows --- .github/workflows/tests.yml | 64 ------------------------------------- 1 file changed, 64 deletions(-) delete mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml deleted file mode 100644 index 3801870..0000000 --- a/.github/workflows/tests.yml +++ /dev/null @@ -1,64 +0,0 @@ -name: Tests -on: - push: - branches: ["main"] - pull_request: - # Allow to run this workflow manually from the Actions tab - workflow_dispatch: -jobs: - build: - runs-on: ubuntu-latest - strategy: - fail-fast: true - matrix: - config: - # [Python version, tox env] - # - ["2.7", "py27-plone52"] - # - ["3.7", "py37-plone52"] - - ["3.8", "py38-plone60"] - - ["3.9", "py39-plone60"] - - ["3.10", "py310-plone60"] - - ["3.11", "py311-plone60"] - name: ${{ matrix.config[1] }} - steps: - - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.config[0] }} - - name: Pip cache - uses: actions/cache@v3 - with: - path: | - ~/.cache/pip - eggs - .tox - key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }} - restore-keys: | - ${{ runner.os }}-pip-${{ matrix.config[0] }}- - ${{ runner.os }}-pip- - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install tox - - name: Test - run: tox -e ${{ matrix.config[1] }} - - name: Upload coverage data to coveralls.io - run: | - pip install coveralls - coveralls --service=github - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COVERALLS_FLAG_NAME: ${{ matrix.config[1] }} - COVERALLS_PARALLEL: true - - coveralls_finish: - needs: build - runs-on: ubuntu-latest - steps: - - name: Finished - run: | - pip install --upgrade coveralls - coveralls --service=github --finish - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file