Skip to content

Commit

Permalink
M7l5 Gremlin
Browse files Browse the repository at this point in the history
  • Loading branch information
svok committed Oct 3, 2024
1 parent e5119bb commit 2eb8a50
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 9 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ jobs:
submodules: recursive
token: ${{ secrets.PAT_TOKEN }}

- name: Restore cached Primes
id: cache-primes-restore
uses: actions/cache/restore@v4
with:
path: |
.gradle
.kotlin
key: ${{ runner.os }}-primes

- name: Set up JDK 21
uses: actions/setup-java@v3
with:
Expand All @@ -52,3 +61,12 @@ jobs:
with:
gradle-version: 8.6
arguments: check -i

- name: Save Primes
id: cache-primes-save
uses: actions/cache/save@v4
with:
path: |
.gradle
.kotlin
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}
26 changes: 18 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ jobs:
with:
submodules: recursive
token: ${{ secrets.PAT_TOKEN }}

- name: Restore cached Primes
id: cache-primes-restore
uses: actions/cache/restore@v4
with:
path: |
.gradle
.kotlin
key: ${{ runner.os }}-primes

- name: Set up JDK 21
uses: actions/setup-java@v3
with:
Expand All @@ -39,11 +49,11 @@ jobs:
gradle-version: 8.6
arguments: check -i

# - name: Report unit tests
# uses: dorny/test-reporter@v1
# if: always()
# with:
# name: Gradle Tests
# path: '**/build/test-results/*/TEST-*.xml'
# reporter: java-junit
# fail-on-error: true
- name: Save Primes
id: cache-primes-save
uses: actions/cache/save@v4
with:
path: |
.gradle
.kotlin
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.`__` as bs
* Для запуска тестов этого файла требуется запустить локальный экземпляр ArcadeDB
* Можно использовать файл /deploy/docker-compose-arcadedb.yml
*/
//@Ignore("Тест для экспериментов")
@Ignore("Тест для экспериментов")
class SimpleTest {
private val host: String = "localhost"
private val user: String = "root"
Expand Down

0 comments on commit 2eb8a50

Please sign in to comment.