chore: migrasi ke uv untuk manajemen package python #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Testing | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
# menjalankan testing dengan 3 os yaitu | |
# linux (ubuntu), windows, dan macOS | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
- name: Setting python | |
uses: actions/setup-python@v5 | |
with: | |
python-version-file: ".python-version" | |
- name: run testing | |
run: uv run flake8 . |