test
Build image / build (push) Waiting to run Details
Unit Tests with docker compose and cargo / unit-test (push) Failing after 18s Details

This commit is contained in:
Alie 2024-02-17 14:14:33 +01:00
parent a7a1d265fd
commit cab2d755a7
2 changed files with 3 additions and 6 deletions

View File

@ -19,16 +19,15 @@ jobs:
- name: Get access token from secret
run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml
- name: Restore cached target
id: cache-primes-restore
uses: actions/cache/restore@v3
with:
path: |
target/
key: ${{ runner.os }}-primes
key: ${{ runner.os }}-target
- run: ls
- name: Run tests on docker
run: docker compose down -v && docker compose run bot t
- name: Save target
id: cache-primes-save
uses: actions/cache/save@v3
with:
path: |

View File

@ -43,12 +43,11 @@ jobs:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Restore cached target
id: cache-primes-restore
uses: actions/cache/restore@v3
with:
path: |
target/
key: ${{ runner.os }}-primes
key: ${{ runner.os }}-target
- name: Build and push
uses: docker/build-push-action@v4
with:
@ -58,7 +57,6 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Save target
id: cache-primes-save
uses: actions/cache/save@v3
with:
path: |