Skip to content

Commit

Permalink
chore: update github workflow, check on all OS
Browse files Browse the repository at this point in the history
  • Loading branch information
vTuanpham committed Jan 4, 2024
1 parent fd0cdfe commit d8b8c94
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/test_translate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ on:
- main
- dev
- feat/*

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.8]

runs-on: ${{ matrix.os }}

steps:
- name: Check Out Code
Expand All @@ -17,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8 # Specify your desired Python version
python-version: ${{ matrix.python-version }}

- name: Install Dependencies
run: |
Expand All @@ -27,4 +33,4 @@ jobs:
- name: Run Unit Tests
run: |
python -m unittest discover -s tests -p "*_test.py"
working-directory: ./
working-directory: ./

0 comments on commit d8b8c94

Please sign in to comment.