This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
chore: Update README.md #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: Test API | |
runs-on: ubuntu-latest | |
services: | |
flipt: | |
image: flipt/flipt:latest | |
env: | |
FLIPT_AUTHENTICATION_METHODS_TOKEN_ENABLED: true | |
FLIPT_AUTHENTICATION_METHODS_TOKEN_BOOTSTRAP_TOKEN: 1ntegr@t10n | |
FLIPT_AUTHENTICATION_REQUIRED: true | |
FLIPT_LOG_ENCODING: json | |
ports: | |
- 8080:8080 | |
- 9000:9000 | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v3 | |
- name: Install Stable Toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: Integration Test | |
uses: actions-rs/cargo@v1 | |
env: | |
FLIPT_ENDPOINT: http://localhost:8080 | |
FLIPT_AUTH_TOKEN: 1ntegr@t10n | |
with: | |
command: test | |
args: --features flipt_integration --test "integration*" |