2020-08-07 09:01:05 +00:00
|
|
|
name: setup-buildx-test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2020-08-11 20:55:56 +00:00
|
|
|
branches:
|
|
|
|
- master
|
2020-08-14 18:01:01 +00:00
|
|
|
- v2-working-branch # remove when merged to master
|
2020-08-07 09:01:05 +00:00
|
|
|
paths:
|
|
|
|
- .github/workflows/setup-buildx-test.yml
|
|
|
|
- setup-buildx/**
|
|
|
|
pull_request:
|
2020-08-11 20:55:56 +00:00
|
|
|
branches:
|
|
|
|
- master
|
2020-08-14 18:01:01 +00:00
|
|
|
- v2-working-branch # remove when merged to master
|
2020-08-07 09:01:05 +00:00
|
|
|
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 09:02:53 +00:00
|
|
|
run: yarn --cwd ./setup-buildx/ install
|
2020-08-07 09:01:05 +00:00
|
|
|
-
|
|
|
|
name: Test
|
2020-08-07 09:02:53 +00:00
|
|
|
run: yarn --cwd ./setup-buildx/ run test
|
2020-08-07 09:01:05 +00:00
|
|
|
# -
|
|
|
|
# name: Upload coverage
|
|
|
|
# uses: codecov/codecov-action@v1.0.7
|
|
|
|
# if: success()
|
|
|
|
# with:
|
|
|
|
# token: ${{ secrets.CODECOV_TOKEN }}
|
|
|
|
# file: ./coverage/clover.xml
|