-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (37 loc) · 1.18 KB
/
metadata-test.yml
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
# https://github.com/actions/runner
# https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/introduction-to-github-actions#understanding-the-workflow-file
# https://docs.github.com/pt/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions
# https://github.com/actions/virtual-environments#available-environments
# ubuntu-latest, ubuntu-18.04, or ubuntu-16.04
# windows-latest or windows-2019
# macos-latest or macos-10.15
name: Automated tests
on:
push:
branches: [ develop, master]
pull_request:
branches: [ develop, master ]
jobs:
test:
runs-on: ubuntu-20.04
env:
TOXENV: py3
name: metadata-tests
strategy:
matrix:
python-version:
- 3.6
- 3.7
steps:
- name: Check out source repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test metadata
run: tox -v