From 32ced8b47955608bba0e4262d1ad3445f7fcf65d Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Fri, 11 Mar 2022 23:30:05 +0100 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..91d9467 --- /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@v1 + with: + file: lcov.info