Skip to content

Commit

Permalink
Create automatic_test.yml
Browse files Browse the repository at this point in the history
add automatic testing actions in Github
  • Loading branch information
ckdckd145 authored Jul 5, 2024
1 parent f242d6f commit 640c9f4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/automatic_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: UnitTest

on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]

jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install statmanager-kr==1.8.1.12
pip install pytest
- name: Test with pytest
run: |
pytest

0 comments on commit 640c9f4

Please sign in to comment.