import-gpg/.github/workflows/test.yml

50 lines
895 B
YAML
Raw Normal View History

2020-05-03 21:09:41 +02:00
name: test
on:
push:
branches:
2020-05-24 01:14:15 +02:00
- master
- releases/v*
2020-05-07 20:57:28 +02:00
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
2020-05-03 21:09:41 +02:00
jobs:
test-containerized:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Test
run: docker buildx bake test
2020-05-03 21:09:41 +02:00
test:
2020-05-03 21:35:54 +02:00
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macOS-latest
2020-05-06 00:31:46 +02:00
- windows-latest
2020-05-03 21:09:41 +02:00
steps:
-
name: Checkout
2020-11-08 02:56:13 +01:00
uses: actions/checkout@v2
2020-05-03 21:09:41 +02:00
-
name: Install
2020-06-10 22:21:27 +02:00
run: yarn install
2020-05-03 21:09:41 +02:00
-
name: Test
2020-06-10 22:21:27 +02:00
run: yarn run test
2020-05-06 18:00:13 +02:00
-
name: Upload coverage
2020-11-08 02:56:13 +01:00
uses: codecov/codecov-action@v1
2020-05-06 18:00:13 +02:00
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/clover.xml