Skip to content

feat: send user-agent header for requests #59

feat: send user-agent header for requests

feat: send user-agent header for requests #59

Workflow file for this run

name: tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: test suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: browser-actions/setup-geckodriver@latest
- name: Run tests
run: DISPLAY=:0 MOZ_HEADLESS=1 geckodriver --port 4444& E2E_SMARTCAR_CLIENT_ID=${{secrets.E2E_SMARTCAR_CLIENT_ID}} E2E_SMARTCAR_CLIENT_SECRET=${{secrets.E2E_SMARTCAR_CLIENT_SECRET}} E2E_SMARTCAR_REDIRECT_URI=${{secrets.E2E_SMARTCAR_REDIRECT_URI}} E2E_SMARTCAR_AMT=${{secrets.E2E_SMARTCAR_AMT}} cargo test -- --nocapture
build:
name: build crate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose