Skip to content

Commit 68333e9

Browse files
committed
Migrate to Github Actions
1 parent a2794ac commit 68333e9

2 files changed

Lines changed: 38 additions & 40 deletions

File tree

.github/workflows/main.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: test
3+
4+
on: push
5+
6+
jobs:
7+
test:
8+
name: Test python-${{ matrix.python-version }} sqla ${{ matrix.sqla-version }} on ${{ matrix.os }}
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
matrix:
12+
os: [ubuntu-latest]
13+
sqla-version: ['1.1.15', '1.2.18']
14+
python-version: [3.5, 3.6, 3.7]
15+
16+
steps:
17+
- uses: actions/checkout@master
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v1
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
23+
- name: Set up Java
24+
uses: actions/setup-java@v1
25+
with:
26+
java-version: 11
27+
28+
- name: Install dependencies
29+
run: |
30+
python -m pip install --upgrade pip
31+
python bootstrap.py
32+
sed -ir 's/SQLAlchemy.*/SQLAlchemy = ${{ matrix.sqla-version }}/g' versions.cfg
33+
bin/buildout -n -c base.cfg
34+
35+
- name: Test
36+
run: |
37+
bin/flake8
38+
JAVA_HOME=$JAVA_HOME_12_X64 bin/coverage run bin/test -vv1

azure-pipelines.yml

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

0 commit comments

Comments
 (0)