diff --git a/.github/workflows/test-install-all.yml b/.github/workflows/test-install-all.yml new file mode 100644 index 000000000..90290dd3f --- /dev/null +++ b/.github/workflows/test-install-all.yml @@ -0,0 +1,26 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: Test Install All Subpackages + +on: + pull_request: + merge_group: + workflow_dispatch: + +jobs: + test: + strategy: + fail-fast: true + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11"] + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + cache: 'pip' + - name: Install dependencies + run: pip install -U ".[all]" diff --git a/README.md b/README.md index 0aa6e8607..57daac11f 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ ![PyPI](https://img.shields.io/pypi/v/autora) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/autoresearch/autora/test-pytest.yml) ![PyPI - Downloads](https://img.shields.io/pypi/dm/autora) +[![Test Install All Subpackages](https://github.com/AutoResearch/autora/actions/workflows/test-install-all.yml/badge.svg)](https://github.com/AutoResearch/autora/actions/workflows/test-install-all.yml) [AutoRA](https://pypi.org/project/autora/) (Automated Research Assistant) is an open-source framework for automating multiple stages of the empirical research process, including model discovery, experimental design, data collection, and documentation for open science.