Skip to content

Commit d87ca39

Browse files
authored
Github Actions draft
1 parent ae134fa commit d87ca39

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/main.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python: [3.6, 3.7, 3.8, 3.9]
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Setup Python
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: ${{ matrix.python }}
23+
- name: Install apt dependencies
24+
run: sudo apt-get -y install libsasl2-dev python-dev libldap2-dev libssl-dev slapd ldap-utils
25+
- name: Install python dependencies
26+
run: pip install tox poetry
27+
- name: Run Tox
28+
# Run tox using the version of Python in `PATH`
29+
run: tox -e py

0 commit comments

Comments
 (0)