Skip to content

Commit 2761581

Browse files
committed
Add simple github actions to test QA
1 parent 1e8d23e commit 2761581

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.github/dependabot.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"

.github/workflows/pythonapp.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: reverse-image-search
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
max-parallel: 1
14+
fail-fast: false
15+
matrix:
16+
python-version: ["3.11"]
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Setup Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: "${{ matrix.python-version }}"
24+
- name: Install Poetry
25+
uses: abatilo/actions-poetry@v2
26+
- name: Lint with pre-commit
27+
uses: pre-commit/[email protected]
28+
- name: Install dependencies
29+
run: poetry install --no-dev
30+
- name: Install dependencies incl dev
31+
run: poetry install

0 commit comments

Comments
 (0)