Skip to content

Commit

Permalink
add dev test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jstzwj committed Jan 27, 2024
1 parent 913e86e commit d7ced41
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: LangPort GitHub Actions for Development
run-name: LangPort GitHub Actions for Development
on:
push:
branches: [ "development" ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]

steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install LangPort
run: |
cd ${{ github.workspace }}
pip install --upgrade pip
pip install -e .
- name: Test LangPort
run: |
cd ${{ github.workspace }}
python -m unittest discover langport/tests

0 comments on commit d7ced41

Please sign in to comment.