Skip to content

Merge pull request #2 from chmod77/tests/fix-failing-tests #7

Merge pull request #2 from chmod77/tests/fix-failing-tests

Merge pull request #2 from chmod77/tests/fix-failing-tests #7

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create .env file
run: |
echo "PUSHER_APP_ID=${{ secrets.PUSHER_APP_ID }}" >> .env
echo "PUSHER_KEY=${{ secrets.PUSHER_KEY }}" >> .env
echo "PUSHER_SECRET=${{ secrets.PUSHER_SECRET }}" >> .env
echo "PUSHER_CLUSTER=${{ secrets.PUSHER_CLUSTER }}" >> .env
echo "PUSHER_USE_TLS=${{ secrets.PUSHER_USE_TLS }}" >> .env
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose