Skip to content

Commit

Permalink
ci(gha): test windows with plugins only
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Jul 26, 2023
1 parent 703bac6 commit 11ed3c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ BUILD_TEST_TASK_TEMPLATE: &BUILD_TEST_TASK_TEMPLATE
- python -m tox -e test
# - make examples

linux_arm64_task:
linux_arm64_task:
only_if: $CIRRUS_CHANGE_TITLE !=~ 'ci\(gha\).*'
env:
# PACT_FFI_PATH: .tox/test/lib/python$VERSION/site-packages/pact/bin
matrix:
Expand All @@ -29,7 +30,7 @@ linux_arm64_task:


macos_arm64_task:
# only_if: $CIRRUS_CHANGE_TITLE =~ 'ci\(macos\).*'
only_if: $CIRRUS_CHANGE_TITLE !=~ 'ci\(gha\).*'
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-base:latest
env:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
os: [ ubuntu-latest, windows-latest, macos-latest ]
os: [ windows-latest ]
# os: [ ubuntu-latest, windows-latest, macos-latest ]

# # These versions are no longer supported by Python team, and may
# # eventually be dropped from GitHub Actions.
Expand Down Expand Up @@ -48,6 +49,7 @@ jobs:
- name: Install Pact plugins for tests
run: script/install_plugins.sh
shell: bash

- name: Test with pytest
run: tox -e test
Expand Down

0 comments on commit 11ed3c2

Please sign in to comment.