diff --git a/.github/workflows/main.yml b/.github/workflows/ci.yml similarity index 55% rename from .github/workflows/main.yml rename to .github/workflows/ci.yml index 3fe4996..26ed27e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/ci.yml @@ -9,9 +9,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" - name: Install Dependencies @@ -25,23 +25,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.11'] + python-version: ['3.11', '3.12'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Setup Poetry - uses: Gr1N/setup-poetry@v8 - with: - poetry-version: 1.4.2 - - name: Cache Poetry - uses: actions/cache@v2 - with: - path: ~/.cache/pypoetry/virtualenvs - key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} + cache: pip - name: Install Python Dependencies - run: poetry install + run: python -m pip install --editable '.[dev]' - name: Test with Pytest - run: poetry run pytest + run: pytest