ROUGE: fixed sentences calculation and some minor refactoring #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
tags: '*' | |
pull_request: | |
jobs: | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.version == 'nightly' }} | |
strategy: | |
matrix: | |
version: | |
- '1.6' | |
- '1' | |
- 'nightly' | |
os: | |
- ubuntu-latest | |
- macOS-latest | |
- windows-latest | |
arch: | |
- x86 | |
- x64 | |
exclude: | |
# Remove some configurations from the build matrix to reduce CI time. | |
# See https://github.com/marketplace/actions/setup-julia-environment | |
# MacOS not available on x86 | |
- {os: 'macOS-latest', arch: 'x86'} | |
# Don't test on all versions | |
- {os: 'macOS-latest', version: '1.6'} | |
- {os: 'macOS-latest', version: 'nightly'} | |
- {os: 'windows-latest', version: '1.6'} | |
- {os: 'windows-latest', version: 'nightly'} | |
- {os: 'windows-latest', arch: 'x86'} | |
- {arch: 'x86', version: '1.6'} | |
- {arch: 'x86', version: 'nightly'} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: julia-actions/julia-buildpkg@latest | |
- uses: julia-actions/julia-runtest@latest | |
with: | |
coverage: false | |
docs: | |
name: Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: '1.9' | |
- run: julia --project=docs -e ' | |
using Pkg; | |
Pkg.develop(PackageSpec(; path=pwd())); | |
Pkg.instantiate();' | |
- run: julia --project=docs docs/make.jl | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |