Skip to content
Merged
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
29 changes: 15 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Java CI with Ant

on:
Expand All @@ -7,31 +6,36 @@ on:
pull_request:
branches: [ master, development, experimental ]

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build_and_test:

runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
java: [ '8', '11', '17', '19', '21', '25' ]
java: [ '8', '11', '17', '21', '25' ]
runs-on: [ubuntu-latest, windows-2022, macos-latest ]
exclude:
- runs-on: macos-latest
java: "8"
- runs-on: macos-latest
java: "16"

name: Test on Java ${{ matrix.Java }} on ${{ matrix.runs-on }}
name: Test on Java ${{ matrix.java }} on ${{ matrix.runs-on }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v7
- name: Set up JDK ${{ matrix.Java }}
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v6
with:
java-version: ${{ matrix.Java }}
java-version: ${{ matrix.java }}
distribution: 'temurin'


- name: Install dependencies (macOS)
if: ${{ contains(matrix.runs-on, 'macos') }}
run: |
Expand All @@ -42,16 +46,15 @@ jobs:
run: sudo apt-get install -y subversion

- name: Set up env
shell: bash
run: |
mkdir temp
mkdir -p temp
# Get one OSB project required for running tests
mkdir osb/cerebellum
mkdir osb/cerebellum/cerebellar_granule_cell
mkdir -p osb/cerebellum/cerebellar_granule_cell
git clone https://github.com/OpenSourceBrain/GranuleCell.git osb/cerebellum/cerebellar_granule_cell/GranuleCell
echo Set up additional folders...
ls


- name: Test subversion on windows
if: ${{ contains(matrix.runs-on, 'windows') }}
shell: pwsh
Expand All @@ -65,7 +68,6 @@ jobs:
if: ${{ !contains(matrix.runs-on, 'windows') }}
run: |
./updatenC.sh # Pull other repos, e.g. NeuroML v1 examples from SourceForge
# make
./nC.sh -make
# Rebuild & perform a number of tests with ant
ant testcore
Expand All @@ -77,7 +79,6 @@ jobs:
run: |
./updatenC.bat # Pull other repos, e.g. NeuroML v1 examples from SourceForge
echo "Everything pulled..."
# make
./nC.bat -make
# Rebuild & perform a number of tests with ant
ant testcore
Expand Down
2 changes: 2 additions & 0 deletions osb/checkOsb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ standardGHProject 'JohnsonMailler_MuscleModel' 'invertebrate/celegans' 'openworm
standardGHProject 'NicolettiEtAl2019_NeuronModels' 'invertebrate/celegans' 'openworm'
standardGHProject 'NicolettiEtAl2024_MN_IN' 'invertebrate/celegans' 'openworm'
standardGHProject 'Worm2D' 'invertebrate/celegans' 'openworm'
standardGHProject 'Worm3DViewer' 'invertebrate/celegans' 'openworm'
standardGHProject 'WCONViewer' 'invertebrate/celegans' 'openworm'

standardGHProject 'PyloricNetwork' 'invertebrate/lobster'
standardGHProject 'MorrisLecarModel' 'invertebrate/barnacle'
Expand Down
2 changes: 1 addition & 1 deletion src/ucl/physiol/neuroconstruct/gui/plotter/PlotCanvas.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public PlotCanvas(PlotterFrame plotFrame)
this.plotFrame = plotFrame;

doubleFormatterFull.applyLocalizedPattern("0.0000");
doubleFormatterFull.setGroupingSize(1000);
//doubleFormatterFull.setGroupingSize(1000);

//doubleFormatterShort.applyLocalizedPattern("0.00#");
//doubleFormatterFull.setGroupingSize(1000);
Expand Down
Loading