Skip to content

Commit 1ad24a5

Browse files
authored
Update CI (#192)
Update groups Update action Update action Update actions Update actions Update CI
1 parent 3520c0f commit 1ad24a5

File tree

2 files changed

+44
-78
lines changed

2 files changed

+44
-78
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 78 deletions
This file was deleted.

.github/workflows/Tests.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Tests
2+
on:
3+
push:
4+
branches:
5+
- 'master'
6+
- 'main'
7+
- 'release-'
8+
tags: '*'
9+
paths-ignore:
10+
- 'docs/**'
11+
pull_request:
12+
workflow_dispatch:
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
# Cancel intermediate builds: only if it is a pull request build.
17+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
18+
19+
jobs:
20+
tests:
21+
name: "Tests"
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
version:
26+
- '1.8' # minimal supported version
27+
- '1' # latest released Julia version
28+
group:
29+
- states
30+
- operators
31+
- algorithms
32+
- other
33+
os:
34+
- ubuntu-latest
35+
- macOS-latest
36+
- windows-latest
37+
uses: "QuantumKitHub/QuantumKitHubActions/.github/workflows/Tests.yml@main"
38+
with:
39+
group: "${{ matrix.group }}"
40+
nthreads: 4
41+
julia-version: "${{ matrix.version }}"
42+
os: "${{ matrix.os }}"
43+
secrets:
44+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)