Skip to content

Commit d882e26

Browse files
authored
Merge pull request #1 from Abogical/github-workflow
Setup testing with Github workflow
2 parents 1339628 + beb489e commit d882e26

File tree

3 files changed

+33
-11
lines changed

3 files changed

+33
-11
lines changed

.github/workflows/python-app.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This workflow will install Python dependencies, run tests with a single version of Python
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: Python application
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
build:
17+
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v3
22+
- name: Set up Python 3.11
23+
uses: actions/setup-python@v3
24+
with:
25+
python-version: "3.11"
26+
- name: Install dependencies
27+
run: |
28+
sudo apt install -y libvips-dev
29+
pip install -r requirements.txt
30+
- name: Test with unittest
31+
run: |
32+
python -m unittest

bitbucket-pipelines.yml

-10
This file was deleted.

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pyvips
2-
git+https://github.com/letmaik/rawpy.git
2+
rawpy
33
tqdm
44
numpy

0 commit comments

Comments
 (0)