Skip to content

[pre-commit.ci] pre-commit autoupdate #158

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #158

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-versions: ["3.9", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python --version ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install -y git
python -m pip install --upgrade pip
python -m pip install poetry
poetry install
- name: Run tests
run: |
poetry run pytest -vvv test/
check-install:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-versions: ["3.9", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python --version ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Test if alpa installs on Ubuntu
run: pip install . && alpa --help