chore: [VIO-3010] Transition from jenkins to Github Actions #233
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: {} | |
pull_request: {} | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
py-version: ['3.7', '3.8', '3.9'] | |
name: Python ${{ matrix.py-version }} Test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.py-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip poetry | |
- name: Install Environment | |
run: | | |
poetry install | |
- name: Run tests | |
run: | | |
make test |