Skip to content

Commit

Permalink
add minimal test
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrayraykk committed Jun 13, 2024
1 parent f5d1ddf commit 7a8f483
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/minial.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Python Minimal Dependency Test

on: [push, pull_request]

jobs:
test:
if: false == contains(github.event.pull_request.title, 'WIP')
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
python-version: ['3.9', '3.10', '3.11', '3.12']
env:
OS: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@master
with:
python-version: ${{ matrix.python-version }}
- name: Install Minimal Dependencies
run: |
pip install -q -e .
- name: Run tests
run: |
python -c "import agentscope; print(agentscope.__version__)"

0 comments on commit 7a8f483

Please sign in to comment.