feat(auth): ability to skip authentication for top-level api prefixes #7564
Workflow file for this run
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 Tests | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "logos/**" | |
- "**.md" | |
- "**.txt" | |
pull_request: | |
paths-ignore: | |
- "logos/**" | |
- "**.md" | |
- "**.txt" | |
workflow_dispatch: | |
jobs: | |
cli: | |
name: CLI Integration Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
check-latest: true | |
cache: true | |
- name: Install Dagger | |
run: | | |
cd /usr/local | |
curl -L https://dl.dagger.io/dagger/install.sh | sh | |
- uses: GeorgeMac/mage-action@gm/tools-add-path-debug | |
with: | |
version: latest | |
args: dagger:run test:cli | |
test: | |
name: Integration Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
strategy: | |
matrix: | |
test: ["api", "fs/git", "fs/local", "import/export"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
check-latest: true | |
cache: true | |
- name: Install Dagger | |
run: | | |
cd /usr/local | |
curl -L https://dl.dagger.io/dagger/install.sh | sh | |
- uses: GeorgeMac/mage-action@gm/tools-add-path-debug | |
with: | |
version: latest | |
args: dagger:run "test:integration ${{ matrix.test }}" | |
- name: Upload Flipt Service Logs | |
uses: actions/upload-artifact@v3 | |
if: ${{ always() }} | |
with: | |
name: Flipt Service Logs | |
path: build/logs | |
retention-days: 5 | |
ui: | |
name: UI Integration Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
check-latest: true | |
cache: true | |
- name: Install Dagger | |
run: | | |
cd /usr/local | |
curl -L https://dl.dagger.io/dagger/install.sh | sh | |
- uses: GeorgeMac/mage-action@gm/tools-add-path-debug | |
with: | |
version: latest | |
args: dagger:run test:ui |