diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..5bd4a65 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,44 @@ +name: CI +on: + push: + branches: + - main + tags: ['*'] + pull_request: +concurrency: + # Skip intermediate builds: always. + # Cancel intermediate builds: only if it is a pull request build. + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: + - 'min' + - '1' + - 'nightly' + os: + - ubuntu-latest + include: + - os: windows-latest + version: '1' + - os: macos-latest + version: '1' + steps: + - uses: actions/checkout@v6 + - uses: julia-actions/setup-julia@v2 + with: + version: ${{ matrix.version }} + - uses: julia-actions/cache@v2 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + with: + files: lcov.info + token: ${{ secrets.CODECOV_TOKEN }} + slug: JuliaGraphics/Showoff.jl diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index db0d368..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: julia -os: - - linux -# - osx -julia: - - 1.0 - - 1.1 - - nightly -notifications: - email: false -after_success: - - julia -e 'using Pkg; cd(Pkg.dir("Showoff")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';