-
Notifications
You must be signed in to change notification settings - Fork 56
Refactor test suite #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Refactor test suite #298
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7d5fd03
setup test framework
lkdvos d806af5
setup buildkite
lkdvos 2d90cc1
skip AD tests on apple and prerelease
lkdvos f9d7665
separate tests into groups
lkdvos b25d9b4
update action
lkdvos 0893e99
properly namespace the `show` tests
lkdvos 1a706b1
fix missing type_repr implementations
lkdvos 4f8c37d
attempt to fix compat check
lkdvos 0149eaf
some fixes after merges
lkdvos 9b8fc31
slightly larger space to avoid cutting everything
lkdvos d7fddc2
more tweaks
lkdvos f82c78d
more tweaks
lkdvos d4fc2c4
fix tensorkitsectors issue
lkdvos e3ed720
add compatchecker comment
lkdvos aa50cdd
add code suggestions
lkdvos 1ddf2d9
better fix of ZNIrrep shenanigans
lkdvos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,68 +1,71 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - 'master' | ||
| - 'main' | ||
| - 'release-' | ||
|
|
||
| tags: '*' | ||
|
|
||
| paths-ignore: | ||
| - 'docs/**' | ||
| pull_request: | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| # Cancel intermediate builds: only if it is a pull request build. | ||
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | ||
|
|
||
| jobs: | ||
| test: | ||
| name: Julia ${{ matrix.version }} - ${{ matrix.os }} | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| version: | ||
| - '1' | ||
| - 'lts' | ||
| - '1' | ||
| group: | ||
| - symmetries | ||
| - tensors | ||
| - other | ||
| - autodiff | ||
| os: | ||
| - ubuntu-latest | ||
| - macOS-latest | ||
| - windows-latest | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| - uses: julia-actions/setup-julia@v2 | ||
| with: | ||
| version: ${{ matrix.version }} | ||
| - uses: julia-actions/cache@v2 | ||
| - uses: julia-actions/julia-buildpkg@latest | ||
| - uses: julia-actions/julia-runtest@latest | ||
| env: | ||
| JULIA_NUM_THREADS: 4 | ||
| - uses: julia-actions/julia-processcoverage@v1 | ||
| - uses: codecov/codecov-action@v5 | ||
| env: | ||
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
| with: | ||
| files: lcov.info | ||
| uses: "QuantumKitHub/QuantumKitHubActions/.github/workflows/Tests.yml@main" | ||
| with: | ||
| group: "${{ matrix.group }}" | ||
| julia-version: "${{ matrix.version }}" | ||
| os: "${{ matrix.os }}" | ||
| nthreads: 4 | ||
| timeout-minutes: 120 | ||
| secrets: | ||
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
|
|
||
| test-nightly: | ||
| needs: test | ||
| name: Julia nightly - ${{ matrix.os }} - ${{ matrix.arch }} | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| matrix: | ||
| version: | ||
| - 'nightly' | ||
| group: | ||
| - symmetries | ||
| - tensors | ||
| - other | ||
| - autodiff | ||
| os: | ||
| - ubuntu-latest | ||
| - macOS-latest | ||
| - windows-latest | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| - uses: julia-actions/setup-julia@v2 | ||
| with: | ||
| version: ${{ matrix.version }} | ||
| - uses: julia-actions/cache@v2 | ||
| - uses: julia-actions/julia-buildpkg@latest | ||
| - uses: julia-actions/julia-runtest@latest | ||
| env: | ||
| JULIA_NUM_THREADS: 4 | ||
| uses: "QuantumKitHub/QuantumKitHubActions/.github/workflows/Tests.yml@main" | ||
| with: | ||
| group: "${{ matrix.group }}" | ||
| julia-version: "${{ matrix.version }}" | ||
| os: "${{ matrix.os }}" | ||
| nthreads: 4 | ||
| timeout-minutes: 120 | ||
| secrets: | ||
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| using TensorKit | ||
| using Aqua | ||
|
|
||
| Aqua.test_all(TensorKit) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.