diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000000..e40e31b1f0 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: test + +on: + push: + branches: [AIMA3e] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + - uses: actions/setup-java@v6 + with: + distribution: temurin + java-version: "17" + cache: maven + # the code uses Java 9+ features, while pom.xml still says 1.8 + - run: mvn -B -f aima-core/pom.xml -Dtarget.jdk.version=17 test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 45661d28f7..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -before_install: cd aima-core - -language: java -jdk: - - oraclejdk8 - -script: ant aima-core.test-all diff --git a/README.md b/README.md index b0fd303415..d1a09e19b6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -# ![](https://github.com/aimacode/aima-java/blob/gh-pages/aima3e/images/aima3e.jpg)AIMA3e-Java (JDK 8+) [![Build Status](https://travis-ci.org/aimacode/aima-java.svg?branch=AIMA3e)](https://travis-ci.org/aimacode/aima-java) [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/aimacode/aima-java/AIMA3e) -Java implementation of algorithms from [Russell](http://www.cs.berkeley.edu/~russell/) and [Norvig's](http://www.norvig.com/) [Artificial Intelligence - A Modern Approach 3rd Edition](http://aima.cs.berkeley.edu/). You can use this in conjunction with a course on AI, or for study on your own. We're looking for [solid contributors](https://github.com/aimacode/aima-java/wiki/AIMAJava-Contributing) to help. +# `aima-java` [![test](https://github.com/aimacode/aima-java/actions/workflows/test.yml/badge.svg)](https://github.com/aimacode/aima-java/actions/workflows/test.yml) [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/aimacode/aima-java/AIMA3e) + +Java code (JDK 8+) for the book *[Artificial Intelligence: A Modern Approach](https://aima.cs.berkeley.edu)*, 3rd edition. You can use this in conjunction with a course on AI, or for study on your own. We're looking for [solid contributors](https://github.com/aimacode/aima-java/wiki/AIMAJava-Contributing) to help. ### Getting Started Links * [Overview of Project](https://github.com/aimacode/aima-java/wiki/AIMA3e-Overview) @@ -153,3 +154,7 @@ Here is a table of the data structures yet to be implemented. |11.4|407|REFINEMENT-HIGH-LEVEL-ACTIONS|---| |23.6|895|SENTENCE-TREE|---| |29.1|1062|POWERS-OF-2|---| + +## Other aimacode projects + +[`aima-python`](https://github.com/aimacode/aima-python) · [`aima-csharp`](https://github.com/aimacode/aima-csharp) · [`aima-scala`](https://github.com/aimacode/aima-scala) · [`aima-julia`](https://github.com/aimacode/aima-julia) · [`aima-lisp`](https://github.com/aimacode/aima-lisp) · [`aima-javascript`](https://github.com/aimacode/aima-javascript) · [`aima-pseudocode`](https://github.com/aimacode/aima-pseudocode) · [`aima-exercises`](https://github.com/aimacode/aima-exercises) · [`aima-data`](https://github.com/aimacode/aima-data) · [`aima-glossary`](https://github.com/aimacode/aima-glossary)