Skip to content
This repository has been archived by the owner on Jan 31, 2025. It is now read-only.

Commit

Permalink
Add .github
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Apr 25, 2024
1 parent 060648f commit d4a1e6f
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: ci

on:
push:
branches:
- main
pull_request:

jobs:
build:

runs-on: ${{ matrix.os }}
env:
PYTHONIOENCODING: utf-8
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
python-version: ['3.10']

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: |
pyproject.toml
- name: Install main
shell: bash
run: |
pip install .[test]
- name: Lint
shell: bash
run: |
make lint
- name: Test
shell: bash
run: |
make test
- name: Install from dist
shell: bash
run: |
make build
pip install dist/labelme_toolkit-*.whl

0 comments on commit d4a1e6f

Please sign in to comment.