Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
154 changes: 77 additions & 77 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,77 +1,77 @@
name: CI
on:
push:
branches:
- main
tags: ['*']
pull_request:
workflow_dispatch:
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 }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
actions: write
contents: read
strategy:
fail-fast: false
matrix:
version:
- '1.10'
- '1'
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
# docs:
# name: Documentation
# runs-on: ubuntu-latest
# permissions:
# actions: write # needed to allow julia-actions/cache to proactively delete old caches that it has created
# contents: write
# statuses: write
# steps:
# - uses: actions/checkout@v4
# - uses: julia-actions/setup-julia@v2
# with:
# version: '1'
# - uses: julia-actions/cache@v2
# - name: Configure doc environment
# shell: julia --project=docs --color=yes {0}
# run: |
# using Pkg
# Pkg.develop(PackageSpec(path=pwd()))
# Pkg.instantiate()
# - uses: julia-actions/julia-buildpkg@v1
# - uses: julia-actions/julia-docdeploy@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
# - name: Run doctests
# shell: julia --project=docs --color=yes {0}
# run: |
# using Documenter: DocMeta, doctest
# using NMFMerge
# DocMeta.setdocmeta!(NMFMerge, :DocTestSetup, :(using NMFMerge); recursive=true)
# doctest(NMFMerge)
name: CI
on:
push:
branches:
- main
tags: ['*']
pull_request:
workflow_dispatch:
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 }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
actions: write
contents: read
strategy:
fail-fast: false
matrix:
version:
- '1.10'
- '1'
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
# docs:
# name: Documentation
# runs-on: ubuntu-latest
# permissions:
# actions: write # needed to allow julia-actions/cache to proactively delete old caches that it has created
# contents: write
# statuses: write
# steps:
# - uses: actions/checkout@v4
# - uses: julia-actions/setup-julia@v2
# with:
# version: '1'
# - uses: julia-actions/cache@v2
# - name: Configure doc environment
# shell: julia --project=docs --color=yes {0}
# run: |
# using Pkg
# Pkg.develop(PackageSpec(path=pwd()))
# Pkg.instantiate()
# - uses: julia-actions/julia-buildpkg@v1
# - uses: julia-actions/julia-docdeploy@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
# - name: Run doctests
# shell: julia --project=docs --color=yes {0}
# run: |
# using Documenter: DocMeta, doctest
# using NMFMerge
# DocMeta.setdocmeta!(NMFMerge, :DocTestSetup, :(using NMFMerge); recursive=true)
# doctest(NMFMerge)
32 changes: 16 additions & 16 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: CompatHelper
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
name: CompatHelper
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
58 changes: 29 additions & 29 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
name = "NMFMerge"
uuid = "9cc52eda-dfaf-4e21-aae3-9f26bed153a3"
authors = ["youdongguo <[email protected]> and contributors"]
version = "1.0.1"

[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
GsvdInitialization = "2ac24108-be9c-42b8-8d78-6a4f62a87e7d"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
NMF = "6ef6ca0d-6ad7-5ff6-b225-e928bfa0a386"
TSVD = "9449cd9e-2762-5aa3-a617-5413e99d722e"

[compat]
DataStructures = "0.18, 0.19"
ForwardDiff = "0.10"
GsvdInitialization = "1"
LinearAlgebra = "1"
NMF = "1"
TSVD = "0.4"
Test = "1"
julia = "1.10"

[extras]
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
NMF = "6ef6ca0d-6ad7-5ff6-b225-e928bfa0a386"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["ForwardDiff", "NMF", "Test"]
name = "NMFMerge"
uuid = "9cc52eda-dfaf-4e21-aae3-9f26bed153a3"
authors = ["youdongguo <[email protected]> and contributors"]
version = "1.1.0"
[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
GsvdInitialization = "2ac24108-be9c-42b8-8d78-6a4f62a87e7d"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
NMF = "6ef6ca0d-6ad7-5ff6-b225-e928bfa0a386"
TSVD = "9449cd9e-2762-5aa3-a617-5413e99d722e"
[compat]
DataStructures = "0.18"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is accepting 0.19 reverted?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only thing left before merging. Is there a reason to require 0.18 or was that a mistake?

ForwardDiff = "0.10"
GsvdInitialization = "1"
LinearAlgebra = "1"
NMF = "1"
TSVD = "0.4"
Test = "1"
julia = "1.10"
[extras]
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
NMF = "6ef6ca0d-6ad7-5ff6-b225-e928bfa0a386"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[targets]
test = ["ForwardDiff", "NMF", "Test"]
Loading