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: