Skip to content

Commit

Permalink
Add experimental unit tests job to GitHub Actions (#156)
Browse files Browse the repository at this point in the history
* Add experimental unit tests job to GitHub Actions

The updated GitHub Actions workflow now includes a new job for running experimental unit tests. This job utilizes an Ubuntu environment and Clojure tools to perform tests. This change improves the comprehensiveness of our testing process by separating conventional and experimental test runs.

* Update workflow job name in GitHub Actions

* The commit updates GitHub Actions workflows' job names. This change helps to better distinguish between different job types, making it more visually appealing, and easy to understand at a glance. Emojis have been added to some job names for easier identification and categorization.

* Update and reorganize tasks in GitHub Actions workflow

This commit aims to refresh the tasks in the GitHub Actions workflow and organize them more logically. Tasks have been renamed and re-ordered for better coherence and understanding, with added emphasis on linting and code style checking, while also updating the naming convention for improved differentiation.
  • Loading branch information
SmetDenis authored Feb 9, 2024
1 parent 034e8dc commit f8e4a93
Showing 1 changed file with 29 additions and 8 deletions.
37 changes: 29 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
tests:
name: Unit tests
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -25,13 +25,10 @@ jobs:
with:
cli: 'latest'
lein: 'latest'
bb: 'latest'

- name: Unit tests
- name: 🧪 Unit tests
run: lein test

- name: Unit tests (bb + test-runner)
run: bb test

linters:
name: Linters
Expand All @@ -54,12 +51,13 @@ jobs:
bb: 'latest'
clj-kondo: 'latest'

- name: Eastwood
- name: 👍 Eastwood
run: bb lint:eastwood

- name: Kondo
- name: 👍 Kondo
run: bb lint:kondo


codestyle:
name: Codestyle
runs-on: ubuntu-latest
Expand All @@ -80,5 +78,28 @@ jobs:
bb: 'latest'
cljfmt: 'latest'

- name: cljfmt
- name: 👍 cljfmt
run: bb lint:check


experimental:
name: Experimental
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Prepare Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'

- name: Install Clojure tools
uses: DeLaGuardo/[email protected]
with:
cli: 'latest'
bb: 'latest'

- name: 🧪 Unit tests (bb + test-runner)
run: bb test

0 comments on commit f8e4a93

Please sign in to comment.