Skip to content

Commit

Permalink
Tests updated
Browse files Browse the repository at this point in the history
  • Loading branch information
agudys authored Aug 19, 2024
1 parent 52a4863 commit 692aac2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
machine: [ubuntu-latest, macOS-12]
compiler: [g++-11]
compiler: [g++]
runs-on: ['${{ matrix.machine }}']

steps:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
fail-fast: false
matrix:
machine: [ubuntu-latest, macOS-12]
compiler: [g++-11]
compiler: [g++]
algo: [single, complete]
threshold: [95, 70]

Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/self-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ jobs:
runs-on: [self-hosted, clusty, '${{ matrix.machine }}']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Get tags
run: |
cd ./libs/igraph
git fetch --tags origin
#git fetch --prune --unshallow --tags
echo exit code $?
git tag --list

########################################################################################
Expand Down Expand Up @@ -55,9 +57,10 @@ jobs:
strategy:
fail-fast: false
matrix:
machine: [xeon]
compiler: [g++-11]

runs-on: [self-hosted, clusty]
runs-on: [self-hosted, clusty, '${{ matrix.machine }}']

steps:
- name: make
Expand Down Expand Up @@ -178,6 +181,7 @@ jobs:
strategy:
fail-fast: false
matrix:
machine: [xeon]
compiler: [g++-11]
algo: [leiden]
threshold: [70]
Expand All @@ -197,6 +201,6 @@ jobs:
- name: ${{matrix.algo}}, ${{matrix.threshold}} (with representatives, numeric ids)
run: |
./clusty-keiden-${{matrix.compiler}} --algo ${{matrix.algo}} --objects-file ./test/ictv.list --similarity --min ani 0.${{matrix.threshold}} ./test/ictv.num ictv.${{matrix.algo}}.${{matrix.threshold}}.reps.num --out-representatives --numeric-ids
./clusty-leiden-${{matrix.compiler}} --algo ${{matrix.algo}} --objects-file ./test/ictv.list --similarity --min ani 0.${{matrix.threshold}} ./test/ictv.num ictv.${{matrix.algo}}.${{matrix.threshold}}.reps.num --out-representatives --numeric-ids
cmp ictv.${{matrix.algo}}.${{matrix.threshold}}.reps.num ./test/ictv.${{matrix.algo}}.${{matrix.threshold}}.reps.csv

0 comments on commit 692aac2

Please sign in to comment.