Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pyproject.toml: The Poetry configuration is invalid #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/runtests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run Python 🐍 tests

on: [push, pull_request]

jobs:
test:
strategy:
matrix:
os: ["macos-latest", "windows-latest","ubuntu-20.04"]
python-version: ["3.10","3.11","3.12"]
fail-fast: false

runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Test with pytest
run: |
pytest
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ authors = [
"Surya Bhupatiraju <[email protected]>",
"Thomas Mesnard <[email protected]>"
]
python-version = "3.10"
license = "Apache-2.0"
readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.10"
absl-py = "^2.1.0"
sentencepiece = "^0.1.99"
flax = "^0.7.5"
Expand Down