Skip to content

Commit

Permalink
Ensure env vars in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cmin764 committed Nov 6, 2024
1 parent b2a4016 commit 4b9af05
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,32 +37,33 @@ jobs:
- name: Install dependencies
run: inv sync-deps

# Run tests
- name: Ensure local environment variables
run: |
cp .env.template .env
cat .env # display what we have for real there (post-changes if any)
- name: Run tests
id: test
run: inv test
continue-on-error: true

# Run format check
- name: Run format check
id: format_check
run: inv format-check
continue-on-error: true

# Run linting
- name: Run linting
id: lint
run: inv lint
continue-on-error: true

# Run type-checking
- name: Run type-checking
id: type_check
run: inv type-check
continue-on-error: true

# Final summary step
- name: Check results and fail if any check failed
# Final summary step which checks all the others.
- name: Check results and fail if any previous check failed
if: always()
run: |
# Create an array of step IDs
Expand Down

0 comments on commit 4b9af05

Please sign in to comment.