Archipelago/.github/workflows/unittests.yml

27 lines
685 B
YAML
Raw Normal View History

2020-04-28 15:39:32 +00:00
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
2020-04-28 15:45:36 +00:00
name: unittests
2020-04-28 15:39:32 +00:00
2020-12-20 03:17:42 +00:00
on: [push, pull_request]
2020-04-28 15:39:32 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2021-11-21 16:50:12 +00:00
- name: Set up Python 3.9
2020-04-28 15:39:32 +00:00
uses: actions/setup-python@v1
with:
2021-11-21 16:50:12 +00:00
python-version: 3.9
2020-04-28 15:39:32 +00:00
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
2021-08-09 07:22:35 +00:00
python ModuleUpdate.py --yes --force
2020-04-28 15:54:23 +00:00
- name: Unittests
2020-04-28 15:39:32 +00:00
run: |
2020-04-29 16:44:03 +00:00
pytest test