21 lines
544 B
YAML
21 lines
544 B
YAML
name: Test
|
|
run-name: ${{ github.actor }} running tests
|
|
on: [push]
|
|
jobs:
|
|
Test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install Python and pip
|
|
run: |
|
|
apt update
|
|
apt install -y python3-pip
|
|
whereis python3
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- name: Install dependencies
|
|
run: |
|
|
/usr/bin/python3 -m pip install --upgrade pip
|
|
/usr/bin/python3 -m pip install .
|
|
- name: Run tests
|
|
run: /usr/bin/python3 -m unittest
|