Skip to content

Commit

Permalink
Run compatibility workflow on push for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rrjbca committed Sep 8, 2024
1 parent 312d76c commit eea10d7
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/compatibility.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,19 @@
name: Compatibility
on:
schedule:
- cron: '0 4 * * SUN'
on: push
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
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:
Expand Down

0 comments on commit eea10d7

Please sign in to comment.