From e23d5e6ab655214b0098b257af3ac370a5778cdd Mon Sep 17 00:00:00 2001
From: Pavel Vetokhin
Date: Mon, 18 Sep 2023 21:05:27 +0300
Subject: [PATCH] Skip sources analyze
---
.dx/binaries.yml | 32 +++++++++----------
.dx/sources.yml | 2 +-
.github/workflows/solution-sanity.yml | 10 +++---
.../data/impl/SepulkaDaoMyBatisTest.java | 3 +-
4 files changed, 22 insertions(+), 25 deletions(-)
diff --git a/.dx/binaries.yml b/.dx/binaries.yml
index 1e8f4c96..b13cddd8 100644
--- a/.dx/binaries.yml
+++ b/.dx/binaries.yml
@@ -81,20 +81,18 @@
# deploy
# {% endif %}
-#- name: Binaries
-# hosts: test
-# run_once: true
-# tasks:
-# - name: Create binaries
-# ansible.builtin.command:
-# cmd: >
-# mvn
-# --no-snapshot-updates
-# --batch-mode
-# clean
-# test-compile
-# --define lib.version={{ lib_version }}
-# chdir: "{{ playbook_dir }}/../tests"
-# strip_empty_ends: false
-# changed_when: true
-# when: hostvars.lib.binary_status|default({}) is changed
+- name: Binaries
+ hosts: test
+ run_once: true
+ tasks:
+ - name: Create binaries
+ ansible.builtin.command:
+ cmd: >
+ mvn
+ --no-snapshot-updates
+ --batch-mode
+ clean
+ test-compile
+ chdir: "{{ playbook_dir }}/../tests"
+ strip_empty_ends: false
+ changed_when: true
diff --git a/.dx/sources.yml b/.dx/sources.yml
index 616afa7f..1aa274cc 100644
--- a/.dx/sources.yml
+++ b/.dx/sources.yml
@@ -7,7 +7,7 @@
ansible.builtin.command:
cmd: >
mvn
- --no-snapshot-updates
+ --offline
--batch-mode
enforcer:enforce
spotless:check
diff --git a/.github/workflows/solution-sanity.yml b/.github/workflows/solution-sanity.yml
index 9a423be5..c0318269 100644
--- a/.github/workflows/solution-sanity.yml
+++ b/.github/workflows/solution-sanity.yml
@@ -25,11 +25,11 @@ jobs:
- uses: ./.github/actions/prepare
with:
tools: python java
- - run: ansible-playbook sources.yml -l lib:app
- working-directory: .dx
- env:
- GITHUB_ACTOR: ${{ github.actor }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+# - run: ansible-playbook sources.yml -l lib:app
+# working-directory: .dx
+# env:
+# GITHUB_ACTOR: ${{ github.actor }}
+# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- id: binaries
run: >
ansible-playbook binaries.yml
diff --git a/apps/foo/src/test/java/smecalculus/bezmen/data/impl/SepulkaDaoMyBatisTest.java b/apps/foo/src/test/java/smecalculus/bezmen/data/impl/SepulkaDaoMyBatisTest.java
index 00f01c7f..9e40a23b 100644
--- a/apps/foo/src/test/java/smecalculus/bezmen/data/impl/SepulkaDaoMyBatisTest.java
+++ b/apps/foo/src/test/java/smecalculus/bezmen/data/impl/SepulkaDaoMyBatisTest.java
@@ -5,6 +5,5 @@
class SepulkaDaoMyBatisTest {
@Test
- void foo() {
- }
+ void foo() {}
}