Skip to content

Commit

Permalink
update test-arm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiuhc committed Jul 24, 2024
1 parent ca2b7ae commit 3ae9b8f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/test-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ jobs:
environment: Unit Test
name: Test on Ubuntu aarch64
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2
name: Run Unit Test
- name: Checkout source code
uses: actions/checkout@v3

- name: Set up and run unit test on aarch64
env:
API_KEY: ${{ secrets.API_KEY }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
EU_API_KEY: ${{ secrets.EU_API_KEY }}
EU_SECRET_KEY: ${{ secrets.EU_SECRET_KEY }}
uses: uraimo/run-on-arch-action@v2
id: runcmd
with:
arch: aarch64
Expand All @@ -24,8 +31,3 @@ jobs:
pip install -r requirements.txt
pip install -r requirements-dev.txt
python3 -m unittest discover -s ./tests -p '*_test.py'
env:
API_KEY: ${{ secrets.API_KEY }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
EU_API_KEY: ${{ secrets.EU_API_KEY }}
EU_SECRET_KEY: ${{ secrets.EU_SECRET_KEY }}

0 comments on commit 3ae9b8f

Please sign in to comment.