Skip to content

Commit

Permalink
cicd setup
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmicSyntax committed Nov 22, 2023
1 parent 742d500 commit b76306a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/openadcidi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Openad CICD

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Linter
run: |
make check-lint
- name: Test with pytest
run: |
make test
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"
line-length=120

[tool.poetry.dependencies]
python = "^3.10"
python = ">=3.10,<3.12"
joblib = "^1.3.2"
matplotlib = "^3.8.0"
scikit-learn = "^1.3.1"
Expand Down

0 comments on commit b76306a

Please sign in to comment.