2020-08-07 17:01:05 +08:00
|
|
|
name: setup-buildx-test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- .github/workflows/setup-buildx-test.yml
|
|
|
|
- setup-buildx/**
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- .github/workflows/setup-buildx-test.yml
|
|
|
|
- setup-buildx/**
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
|
|
|
uses: actions/checkout@v2.3.1
|
|
|
|
-
|
|
|
|
name: Install
|
2020-08-07 17:02:53 +08:00
|
|
|
run: yarn --cwd ./setup-buildx/ install
|
2020-08-07 17:01:05 +08:00
|
|
|
-
|
|
|
|
name: Test
|
2020-08-07 17:02:53 +08:00
|
|
|
run: yarn --cwd ./setup-buildx/ run test
|
2020-08-07 17:01:05 +08:00
|
|
|
# -
|
|
|
|
# name: Upload coverage
|
|
|
|
# uses: codecov/codecov-action@v1.0.7
|
|
|
|
# if: success()
|
|
|
|
# with:
|
|
|
|
# token: ${{ secrets.CODECOV_TOKEN }}
|
|
|
|
# file: ./coverage/clover.xml
|