Skip to content

Commit

Permalink
chore: ci tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
stas committed Jan 11, 2025
1 parent 78b740e commit 6de211f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CI

on: [push, pull_request]
on:
push:
pull_request:
types: [opened]

jobs:
chains_matrix:
Expand All @@ -27,4 +30,4 @@ jobs:
run: docker build ./ -t velodrome/sugar

- name: Runs code QA and tests
run: docker run --rm --env-file=deployments/${{ matrix.chain }}.env -w /app -t velodrome/sugar sh -c 'python -m black . && ape test --network ${{ matrix.chain }}:mainnet:node --disable-isolation'
run: docker run --rm --env-file=deployments/${{ matrix.chain }}.env -v $(pwd):/app -w /app -t velodrome/sugar sh -c 'python -m black . && ape test --network ${{ matrix.chain }} --disable-isolation'

0 comments on commit 6de211f

Please sign in to comment.