Skip to content

Commit

Permalink
Merge pull request #5 from sammrai/dependabot/pip/ccxt-4.3.15
Browse files Browse the repository at this point in the history
(auto merged) Bump ccxt from 4.3.14 to 4.3.15
  • Loading branch information
github-actions[bot] authored May 5, 2024
2 parents e7a9b13 + 43aa60d commit 59d5ea3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 28 deletions.
34 changes: 7 additions & 27 deletions .github/workflows/dependabot-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,42 +16,22 @@ jobs:
env:
IMAGE_NAME: ${{ github.repository }}
steps:
- name: checkout
- name: Checkout
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
if: github.ref == 'refs/heads/main'
- name: Build image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: |
${{ github.repository }}:${{ github.sha }}
${{ github.repository }}:latest
- name: Build and push for test branch
if: github.ref == 'refs/heads/test'
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: |
${{ github.repository }}:${{ github.sha }}
${{ github.repository }}:test
load: true
tags: ${{ env.IMAGE_NAME }}:${{ github.sha }}

- name: Run tests
run: |
docker pull ${{ github.repository }}:${{ github.sha }}
docker run --rm ${{ github.repository }}:${{ github.sha }} --exchanges kucoin kraken --symbols BTC/USDT ETH/USDT
run: docker run --rm ${{ env.IMAGE_NAME }}:${{ github.sha }} --exchanges kucoin kraken --symbols BTC/USDT ETH/USDT
env:
IMAGE_NAME: sammrai/fetch_ohlcv

dependabot:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ccxt==4.3.14
ccxt==4.3.15

0 comments on commit 59d5ea3

Please sign in to comment.