Skip to content

Commit 901ddb5

Browse files
committed
chore: removing redundant GHA
1 parent b2d1e98 commit 901ddb5

File tree

3 files changed

+5
-158
lines changed

3 files changed

+5
-158
lines changed

.github/workflows/ci-macos.yml

Lines changed: 0 additions & 87 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 5 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
branches:
77
- main
88
- develop
9-
- 'feature/*'
10-
- 'hotfix/*'
11-
- 'release/*'
12-
- 'fixes/*'
9+
- "feature/*"
10+
- "hotfix/*"
11+
- "release/*"
12+
- "fixes/*"
1313
push:
1414
branches:
1515
- main
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
python-version: [ "3.12" ]
24+
python-version: ["3.12"]
2525
timeout-minutes: 15
2626
steps:
2727
- name: Checkout
@@ -34,46 +34,3 @@ jobs:
3434

3535
- name: Run Pre-commit
3636
uses: pre-commit/action@v3.0.0
37-
38-
ci-tests:
39-
name: Pytest CI
40-
runs-on: ubuntu-latest
41-
needs: pre-commit
42-
strategy:
43-
matrix:
44-
python-version: [ "3.12" ]
45-
timeout-minutes: 15
46-
47-
steps:
48-
- name: Checkout
49-
uses: actions/checkout@v3
50-
51-
- uses: actions/setup-python@v4
52-
id: setup-python
53-
with:
54-
python-version: ${{ matrix.python-version }}
55-
56-
# The key configuration value here is `virtualenvs-in-project: true`: this creates the
57-
# venv as a `.venv` in your testing directory, which allows the next step to easily
58-
# cache it.
59-
- uses: snok/install-poetry@v1
60-
with:
61-
virtualenvs-create: true
62-
virtualenvs-in-project: true
63-
installer-parallel: true
64-
65-
# Cache your dependencies (i.e. all the stuff in your `pyproject.toml`).
66-
- name: Load cached venv
67-
id: cached-poetry-dependencies
68-
uses: actions/cache@v3
69-
with:
70-
path: .venv
71-
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
72-
73-
# Install dependencies if cache does not exist
74-
- name: Install dependencies
75-
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
76-
run: poetry install
77-
78-
- name: Run the full test suite
79-
run: poetry run python -m pytest

.github/workflows/poetry-update.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)