Skip to content

Merge pull request #443 from tktcorporation/release/v1.5.0 #395

Merge pull request #443 from tktcorporation/release/v1.5.0

Merge pull request #443 from tktcorporation/release/v1.5.0 #395

Workflow file for this run

name: Test
on:
push:
branches:
- master
defaults:
run:
shell: bash
working-directory: ./
env:
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
DISCORD_CMD_PREFIX: "~"
DISCORD_TOKEN: "dummy"
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install docker-compose
if: ${{ env.ACT }}
run: |
apt-get update && apt-get install -y docker docker-compose
- name: Build containers
run: docker-compose build app
- name: Test
run: |
docker-compose run app /bin/bash -c "RUST_BACKTRACE=1 cargo test --all-features"