testing if this is working
Unit Tests with docker compose and cargo / unit-test (push) Has been cancelled Details

This commit is contained in:
Alie 2025-01-03 12:04:19 +01:00
parent a0033bd467
commit 66560c00e4
2 changed files with 1 additions and 2 deletions

View File

@ -17,6 +17,6 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4
- name: Get access token from secret
run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml && ls
run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml && cat mastodon-data.toml
- name: Run tests on docker
run: docker compose down -v && docker compose run --build bot t

View File

@ -11,7 +11,6 @@ FROM deps AS test
COPY .cargo .cargo
COPY config.toml config.toml
COPY mastodon-data.toml mastodon-data.toml
RUN cargo build
FROM deps AS build
ARG APP_NAME=mastodon-image-uploader-bot