Skip to content

Commit

Permalink
Use GitHub Actions for CI (#201)
Browse files Browse the repository at this point in the history
Run 'mvn test' for each commit on the master branch and for every pull request.

Fixes #182

Support for Codacy is removed but could be added again in the future.
  • Loading branch information
mgmax authored Dec 28, 2023
1 parent 04a9b2d commit 9c3182c
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 30 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Java with Maven

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Test with Maven
run: mvn test

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
# - name: Update dependency graph
# uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6

17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

25 changes: 12 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
# LibLaserCut

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/54ce385f7b624207b0611ccc7074f575)](https://app.codacy.com/manual/t-oster/LibLaserCut?utm_source=github.com&utm_medium=referral&utm_content=t-oster/LibLaserCut&utm_campaign=Badge_Grade_Settings)
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/95930a2113c3429088513982fa46c4ec)](https://www.codacy.com/manual/t-oster/LibLaserCut?utm_source=github.com&utm_medium=referral&utm_content=t-oster/LibLaserCut&utm_campaign=Badge_Coverage)
[![Build Status](https://app.travis-ci.com/t-oster/LibLaserCut.svg?branch=master)](https://app.travis-ci.com/github/t-oster/LibLaserCut)

This is a library intended to provide suppport
for Lasercutters on any platform.

It was created for VisiCut (http://visicut.org)
but you are invited to use it for your own programs.

Currently it supports older [Epilog](https://www.epiloglaser.com/) Lasers (Zing/Mini/Helix),
the SmoothieBoard (www.smoothieware.org),
generic GCode,
the LAOS board (www.laoslaser.org),
K40,
generic GRBL based boards,
LTT iLaser 4000,
generic HPGL plotters
and some untested work-in-progress drivers like the Roland iModela and the Lasersaur.
It supports many types of lasercutters, for example:

- Older [Epilog](https://www.epiloglaser.com/) Lasers (Zing/Mini/Helix),
- SmoothieBoard (www.smoothieware.org),
- generic GCode,
- the LAOS board (www.laoslaser.org),
- K40,
- generic GRBL based boards,
- LTT iLaser 4000,
- generic HPGL plotters
- and many more.

A detailed list of tested devices can be found in the VisiCut wiki:
https://github.com/t-oster/VisiCut/wiki/Supported-Hardware

If your Lasercutter is not supported, please contribute by implementing
your driver as a subclass of the LaserCutter.java class.
See https://github.com/t-oster/VisiCut/wiki/Developing-a-new-Lasercutter-Driver .

0 comments on commit 9c3182c

Please sign in to comment.