aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-08-05 14:32:56 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-08-05 14:32:56 -0500
commit38c5e18b94c1f2f506b89cfa582b4aba80fe48d7 (patch)
treeee0b2a7cec961f3f2d04057e269695eddf132afc /.github
parentNothing? (diff)
downloadlocusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar
locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar.gz
locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar.bz2
locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar.lz
locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar.xz
locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.tar.zst
locusts-38c5e18b94c1f2f506b89cfa582b4aba80fe48d7.zip
Add python and a bunch of documentation
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--.github/workflows/cmake.yml4
-rw-r--r--.github/workflows/go.yml3
-rw-r--r--.github/workflows/python.yml28
-rw-r--r--.github/workflows/rust.yml8
4 files changed, 37 insertions, 6 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 37f112f..66eceac 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -13,7 +13,7 @@ on:
jobs:
cmake:
name: CMake Builds
- runs-on: $ {{ matrix.os }}
+ runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
@@ -25,3 +25,5 @@ jobs:
run: cmake -B build -S .
- name: Build
run: cmake --build build
+ - name: Test
+ run: ctest --test-dir build --output-on-failure
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index b415085..81c96b8 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -14,8 +14,9 @@ jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
+ fail-fast: false
matrix:
- os: [ubuntu-latest, windows-latest, macos-latest]
+ os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Go
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml
new file mode 100644
index 0000000..a353559
--- /dev/null
+++ b/.github/workflows/python.yml
@@ -0,0 +1,28 @@
+name: Python
+
+on:
+ push:
+ paths:
+ - '**.py'
+ - 'pyproject.toml'
+ pull_request:
+ paths:
+ - '**.py'
+ - 'pyproject.toml'
+
+jobs:
+ build:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ - name: Set up Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.x'
+ - name: Test
+ run: python -m unittest discover -s src/locusts-r-us \ No newline at end of file
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 712eb10..833f2c8 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -3,12 +3,12 @@ name: Rust
on:
push:
paths:
- - "**.c"
- - "**.h"
+ - "**.rs"
+ - "Cargo.**"
pull_request:
paths:
- - "**.c"
- - "**.h"
+ - "**.rs"
+ - "Cargo.**"
jobs:
rust: