Skip to content

Commit

Permalink
run mac and win only if ubuntu success
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-rinchin committed Aug 14, 2024
1 parent 9cdfd93 commit 38fdfa9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:

docs:
runs-on: ubuntu-latest
needs: codespell
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -31,7 +30,7 @@ jobs:
with:
python-version: 3.8

- uses: Gr1N/setup-poetry@v7
- uses: Gr1N/setup-poetry@v9
with:
poetry-version: 1.1.7

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:

jobs:
macos-tests:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: macos-latest
strategy:
fail-fast: true
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tests_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ on:

jobs:
ubuntu-tests:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.8", "3.10", "3.11", "3.12"] # "3.9" is tested in CI

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:

jobs:
windows-tests:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: windows-latest
strategy:
fail-fast: true
Expand Down
2 changes: 0 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
system_packages: true
tools:
python: "3.8"
jobs:
Expand All @@ -33,4 +32,3 @@ python:
install:
- requirements: docs/requirements.txt
- path: .

0 comments on commit 38fdfa9

Please sign in to comment.