From 118953544cff938167e5ac9c17a0eb1ae02457af Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Mon, 18 Jul 2022 18:14:52 +0200 Subject: [PATCH] Add CI configuration. --- .github/FUNDING.yml | 2 ++ .github/workflows/TagBot.yml | 15 ++++++++++++++ .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/workflows/TagBot.yml create mode 100644 .github/workflows/ci.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..bc0a0f7 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +github: fredrikekre +custom: paypal.me/fredrikekre diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml new file mode 100644 index 0000000..f49313b --- /dev/null +++ b/.github/workflows/TagBot.yml @@ -0,0 +1,15 @@ +name: TagBot +on: + issue_comment: + types: + - created + workflow_dispatch: +jobs: + TagBot: + if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' + runs-on: ubuntu-latest + steps: + - uses: JuliaRegistries/TagBot@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + ssh: ${{ secrets.DOCUMENTER_KEY }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..816b785 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI + +on: + push: + branches: + - 'master' + - 'release-' + tags: '*' + pull_request: + +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + version: + - '1.6' + - '1' + - 'nightly' + os: + - ubuntu-latest + include: + - os: windows-latest + version: '1' + - os: macOS-latest + version: '1' + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v2 + with: + files: ./lcov.info