Skip to content

Commit

Permalink
Fix PyPI test workflow (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
uschmidt83 committed Apr 26, 2024
1 parent 6b0afb1 commit cae60dc
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches-ignore:
- wheels
- pypi
pull_request:
branches:
- main
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/tests_cron.yml
@@ -1,6 +1,9 @@
name: Test (PyPI)

on:
push:
branches:
- pypi
schedule:
- cron: "0 18 * * 1,3,5"

Expand Down Expand Up @@ -38,8 +41,20 @@ jobs:
# cases for using x86_64-based runner (macos-13)
- os: macos-13
python-version: '3.6' # no arm64 wheels
tensorflow: 1
package-extras: 'test,tf1'
- os: macos-13
python-version: '3.6' # no arm64 wheels
tensorflow: 2
package-extras: 'test'
- os: macos-13
python-version: '3.7' # no arm64 wheels
tensorflow: 1
package-extras: 'test,tf1'
- os: macos-13
python-version: '3.7' # no arm64 wheels
tensorflow: 2
package-extras: 'test'
- os: macos-13
python-version: '>=3.12 <3.13' # intentionally be different than '3.12' to cause an additional combination
tensorflow: 2
Expand All @@ -58,6 +73,10 @@ jobs:
tensorflow: 1
- os: windows-latest
tensorflow: 1
- os: macos-latest
python-version: '3.6'
- os: macos-latest
python-version: '3.7'

steps:
- name: Install Python
Expand Down

0 comments on commit cae60dc

Please sign in to comment.