Skip to content
This repository was archived by the owner on Mar 30, 2023. It is now read-only.

Commit 852fa1d

Browse files
author
Jason Costello
committed
[WIP] Adding Action for tox run
1 parent 2e27c7a commit 852fa1d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/actions/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Continuous integration
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: [3.6, 3.7, 3.8]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Install Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install -e ".[dev]"; fi
26+
- name: Run tests
27+
env:
28+
TOX_ENV: py${{matrix.python-version}}
29+
run: |
30+
tox - e $TOX_ENV

0 commit comments

Comments
 (0)