Skip to content

Commit

Permalink
Minimize pull request CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Nov 1, 2022
1 parent 49f11fd commit e477a9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ jobs:

test-alpine:
name: Test Alpine Linux
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: '1'
Expand Down Expand Up @@ -321,13 +322,13 @@ jobs:

test-docker:
name: Test Docker
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.11"
- uses: docker/setup-buildx-action@v2
- name: Build
uses: docker/build-push-action@v2
Expand All @@ -351,6 +352,7 @@ jobs:

test-cross-compile:
name: Test Cross Compile
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
container: ${{ matrix.platform.container }}
strategy:
Expand Down

0 comments on commit e477a9e

Please sign in to comment.