Skip to content

Commit

Permalink
Adding test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsbarbosa committed Apr 8, 2023
1 parent 4416f77 commit aa0d4c0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: PR checks

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Run install
run: lein install
- name: Generate sample
run: lein new org.clojars.majorcluster/diplomat-http-w-mysql-service bakery
- name: Install dependencies
run: lein deps
working-directory: ./bakery
- name: Run tests
run: lein test
working-directory: ./bakery
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject org.clojars.majorcluster/lein-template.diplomat-http-w-mysql-service "0.4.1"
(defproject org.clojars.majorcluster/lein-template.diplomat-http-w-mysql-service "0.4.2"
:description "Diplomat architecture-pedestal styled template with my sql db for leiningen generation"
:url "https://github.com/majorcluster/diplomat-http-w-mysql-service-template"
:license {:name "MIT License"
Expand Down

0 comments on commit aa0d4c0

Please sign in to comment.