Skip to content

Commit aaf664c

Browse files
committed
Add CI test
1 parent 90aa74c commit aaf664c

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/test.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: test
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: '8 15 * * 0' # 8:15 every Monday
8+
9+
jobs:
10+
build_and_test_plugin:
11+
strategy:
12+
matrix:
13+
os: [ ubuntu-latest, macos-latest, windows-latest ]
14+
15+
name: ${{ matrix.os }}
16+
runs-on: ${{ matrix.os }}
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
with:
22+
path: src
23+
24+
- name: Install dependencies
25+
run: pip install 'ncrystal>=4.1.4'
26+
27+
- name: Install plugin
28+
run: pip install ./src
29+
30+
- name: Verify plugin loading
31+
run: ncrystal-pluginmanager --test CrysExtn
32+
33+
- name: Use explicit plugin file
34+
run: nctool -d 'plugins::CrysExtn/Be_sg194_BC_pure_scndI.ncmat'

0 commit comments

Comments
 (0)