Skip to content

Commit

Permalink
run e2e tests on Windows and OSX
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Sanders <jsand@google.com>
  • Loading branch information
Jake Sanders committed Dec 9, 2021
1 parent dc744ea commit 0c39af7
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ jobs:
# Skip if running in a fork that might not have secrets configured.
if: ${{ github.repository == 'sigstore/cosign' }}
name: Run tests
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
Expand All @@ -38,7 +41,10 @@ jobs:
project_id: projectsigstore
service_account_key: ${{ secrets.GCP_CI_SERVICE_ACCOUNT }}
export_default_credentials: true
- run: |
go install github.com/google/go-containerregistry/cmd/crane@v0.7.0
gcloud auth configure-docker us-central1-docker.pkg.dev --quiet
./test/e2e_test_secrets.sh
- name: Set up `crane`
run: go install github.com/google/go-containerregistry/cmd/crane@v0.7.0
- name: gcloud auth configure-docker
run: gcloud auth configure-docker us-central1-docker.pkg.dev --quiet
- name: Run e2e_test_secrets.sh
shell: bash
run: ./test/e2e_test_secrets.sh

0 comments on commit 0c39af7

Please sign in to comment.