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 ea844c1 commit 70eb149
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/compatibility.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Compatibility
on:
schedule:
- cron: '0 4 * * SUN'
on: push
jobs:
test:
runs-on: ${{ matrix.os }}
Expand All @@ -11,16 +9,11 @@ jobs:
os: [ubuntu-latest]
python: [3.9]
toxenv: [py39-test, py39-test-dev]
release: [main, latest]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
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@v5
with:
Expand Down

0 comments on commit 70eb149

Please # to comment.