Run Clojure tests in the Actions runner container
pull-request / validate (pull_request) Successful in 47s
pull-request / validate (pull_request) Successful in 47s
This commit is contained in:
@@ -36,7 +36,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: clojure -M:test
|
run: |
|
||||||
|
docker run --rm --network host \
|
||||||
|
-e TARGET_HOST -e TARGET_PORT -e TARGET_DB \
|
||||||
|
-e TARGET_USER -e TARGET_PASSWORD \
|
||||||
|
-v "$PWD:/app" -w /app \
|
||||||
|
clojure:temurin-21-tools-deps-alpine \
|
||||||
|
clojure -M:test
|
||||||
|
|
||||||
- name: Generate immutable tags
|
- name: Generate immutable tags
|
||||||
id: tags
|
id: tags
|
||||||
|
|||||||
@@ -31,7 +31,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: clojure -M:test
|
run: |
|
||||||
|
docker run --rm --network host \
|
||||||
|
-e TARGET_HOST -e TARGET_PORT -e TARGET_DB \
|
||||||
|
-e TARGET_USER -e TARGET_PASSWORD \
|
||||||
|
-v "$PWD:/app" -w /app \
|
||||||
|
clojure:temurin-21-tools-deps-alpine \
|
||||||
|
clojure -M:test
|
||||||
|
|
||||||
- name: Build production image
|
- name: Build production image
|
||||||
run: docker build --platform linux/amd64 -t elprice:pr-check .
|
run: docker build --platform linux/amd64 -t elprice:pr-check .
|
||||||
|
|||||||
Reference in New Issue
Block a user