Skip to content

Commit

Permalink
update unit tests to read from vars instead of secrets (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
nitaliano authored Oct 4, 2024
1 parent 1e73ae1 commit d8a4bdb
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,8 @@ jobs:
- name: Install dependencies
run: go mod download

- name: Set environment variables from secrets
run: |
echo "SUPERSIM_RPC_URL_OP=$SUPERSIM_RPC_URL_OP" >> .env
echo "SUPERSIM_RPC_URL_BASE=$SUPERSIM_RPC_URL_BASE" >> .env
env:
SUPERSIM_RPC_URL_OP: ${{ secrets.SUPERSIM_RPC_URL_OP }}
SUPERSIM_RPC_URL_BASE: ${{ secrets.SUPERSIM_RPC_URL_BASE }}

- name: Run tests
run: just test-go
env:
SUPERSIM_RPC_URL_OP: ${{ vars.SUPERSIM_RPC_URL_OP }}
SUPERSIM_RPC_URL_BASE: ${{ vars.SUPERSIM_RPC_URL_BASE }}

0 comments on commit d8a4bdb

Please sign in to comment.