mirror of
https://github.com/docker/login-action.git
synced 2024-11-06 08:55:56 -05:00
a3de3de177
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
40 lines
724 B
YAML
40 lines
724 B
YAML
name: test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- releases/v*
|
|
paths-ignore:
|
|
- '**.md'
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.md'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os:
|
|
- ubuntu-20.04
|
|
- ubuntu-18.04
|
|
- ubuntu-16.04
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v2
|
|
-
|
|
name: Install
|
|
run: yarn install
|
|
-
|
|
name: Test
|
|
run: yarn run test
|
|
-
|
|
name: Upload coverage
|
|
uses: codecov/codecov-action@v1
|
|
if: success()
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
file: ./coverage/clover.xml
|