Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add a workflow to test all packages #16093

Merged
merged 1 commit into from
Oct 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/test-all.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: test all packages
on: workflow_dispatch

permissions: {}
env:
AQUA_LOG_COLOR: always
jobs:
test:
strategy:
matrix:
env:
- runs-on: windows-latest
- runs-on: ubuntu-latest
- runs-on: macos-latest
- runs-on: ubuntu-latest
goarch: arm64
- runs-on: macos-latest
goos: darwin
goarch: arm64
- runs-on: windows-latest
goarch: arm64
runs-on: ${{ matrix.env.runs-on }}
defaults:
run:
shell: bash
env:
AQUA_CONFIG: aqua-all.yaml
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: aquaproj/aqua-installer@36dc5833b04eb63f06e3bb818aa6b7a6e6db99a9 # v2.1.2
with:
aqua_version: v2.13.0-1
policy_allow: "true"
env:
AQUA_GITHUB_TOKEN: ${{github.token}}
- run: aqua i
env:
AQUA_GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}