push up some prelim tests #49
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Func Tests | |
on: | |
pull_request: | |
jobs: | |
basic-func-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout action code | |
uses: actions/checkout@v3 | |
- name: Run Pkg Action | |
uses: ./ | |
id: basic-func-test | |
with: | |
entrypoint: bin/test | |
basic-cross-platform-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-13 | |
- macos-14 | |
- ubuntu-22.04 | |
- windows-2022 | |
steps: | |
- name: Checkout action code | |
uses: actions/checkout@v3 | |
- name: Run Pkg Action | |
uses: ./ | |
id: basic-func-test | |
with: | |
entrypoint: bin/test | |
upload: false | |
basic-cross-everything-test: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
arch: | |
- x64 | |
- arm64 | |
node-version: | |
- "16" | |
os: | |
- linux | |
- macos | |
- win | |
pkg: | |
- "[email protected]" | |
- "[email protected]" | |
- "@yao-pkg/[email protected]" | |
steps: | |
- name: Checkout action code | |
uses: actions/checkout@v3 | |
- name: Run Pkg Action | |
uses: ./ | |
id: basic-func-test | |
with: | |
arch: ${{ matrix.arch }} | |
entrypoint: bin/test | |
node-version: ${{ matrix.node-version }} | |
os: ${{ matrix.os }} | |
pkg: ${{ matrix.pkg }} | |
upload: false |