-
Notifications
You must be signed in to change notification settings - Fork 5
45 lines (36 loc) · 888 Bytes
/
testing.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: 'Testing'
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
econnect:
runs-on: ubuntu-20.04
env:
TOX_SKIP_ENV: lint
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: |
3.6
3.7
3.8
3.9
- name: Upgrade pip and install required tools
run: |
pip install --upgrade pip
pip install tox
- name: Test with tox environments
run: tox
- name: Update Coveralls report
uses: coverallsapp/github-action@v2