From eea10d71cac242ac57349dc88a45c645eeb2ddd9 Mon Sep 17 00:00:00 2001 From: Richard R <58728519+rrjbca@users.noreply.github.com> Date: Sun, 26 Mar 2023 16:06:07 +0100 Subject: [PATCH] Run compatibility workflow on push for testing --- .github/workflows/compatibility.yaml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/compatibility.yaml b/.github/workflows/compatibility.yaml index 426ad4152..501586ac3 100644 --- a/.github/workflows/compatibility.yaml +++ b/.github/workflows/compatibility.yaml @@ -1,7 +1,5 @@ name: Compatibility -on: - schedule: - - cron: '0 4 * * SUN' +on: push jobs: test: runs-on: ${{ matrix.os }} @@ -9,18 +7,13 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python: [3.9] - toxenv: [py39-test, py39-test-dev] - release: [main, latest] + python: ['3.11'] + toxenv: [py311-test, py311-test-dev] steps: - name: Checkout Repository uses: actions/checkout@v2 with: fetch-depth: 0 - - if: matrix.release != 'main' - name: Checkout Release - run: | - git checkout tags/$(curl -s https://api.github.com/repos/skypyproject/skypy/releases/${{ matrix.release }} | python -c "import sys, json; print(json.load(sys.stdin)['tag_name'])") - name: Install Python ${{ matrix.python }} uses: actions/setup-python@v2 with: