Skip to content

Commit

Permalink
next: Ci
Browse files Browse the repository at this point in the history
  • Loading branch information
akhercha committed Jul 6, 2024
1 parent 90c32d1 commit 075d358
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: CI/CD Pipeline

on:
push:
branches: [ master, next ]
branches: [master, next]
tags:
- 'v*'
- "v*"
pull_request:
branches: [ master, next ]
branches: [master, next]
schedule:
- cron: '0 0 * * *' # Daily at midnight UTC
- cron: "0 0 * * *" # Daily at midnight UTC
workflow_dispatch:

env:
Expand All @@ -20,6 +20,7 @@ env:
jobs:
lint-format-typecheck:
name: Lint - Format - Typecheck
continue-on-error: true
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -33,7 +34,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.12.4"
cache: 'poetry'
cache: "poetry"
- name: Install dependencies
run: |
cd ${{ matrix.package }}
Expand All @@ -57,19 +58,20 @@ jobs:
tests:
name: Run Tests
continue-on-error: true
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.12.4" ]
python-version: ["3.12.4"]
package: [pragma-utils, pragma-sdk, price-pusher, vrf-listener]
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
with:
submodules: "true"
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache: "pip"
- uses: CfirTsabari/actions-pipx@v1
- name: Install poetry
run: pipx install poetry
Expand Down Expand Up @@ -251,4 +253,4 @@ jobs:
git push --tags
else
echo "Version NOT bumped"
fi
fi

0 comments on commit 075d358

Please sign in to comment.