Added new versions for test and add more complex multifiles test #83
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: Run unittests | |
on: | |
push: | |
pull_request: | |
jobs: | |
python36: | |
runs-on: ubuntu-latest | |
container: | |
image: python:3.6-slim | |
ports: | |
- "80" | |
volumes: | |
- ./:/app | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Unit test in python 3.6 | |
run: python3 -m unittest discover ./tests | |
python37: | |
runs-on: ubuntu-latest | |
container: | |
image: python:3.7-slim | |
ports: | |
- "80" | |
volumes: | |
- ./:/app | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Unit tests in python 3.7 | |
run: python3 -m unittest discover ./tests | |
python38: | |
runs-on: ubuntu-latest | |
container: | |
image: python:3.8-slim | |
ports: | |
- "80" | |
volumes: | |
- ./:/app | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Unit tests in python 3.8 | |
run: python3 -m unittest discover ./tests | |
python39: | |
runs-on: ubuntu-latest | |
container: | |
image: python:3.9-slim | |
ports: | |
- "80" | |
volumes: | |
- ./:/app | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Unit tests in python 3.9 | |
run: python3 -m unittest discover ./tests | |
python310: | |
runs-on: ubuntu-latest | |
container: | |
image: python:3.10-slim | |
ports: | |
- "80" | |
volumes: | |
- ./:/app | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Unit tests in python 3.10 | |
run: python3 -m unittest discover ./tests | |
python311: | |
runs-on: ubuntu-latest | |
container: | |
image: python:3.11-slim | |
ports: | |
- "80" | |
volumes: | |
- ./:/app | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Unit tests in python 3.11 | |
run: python3 -m unittest discover ./tests | |
python312: | |
runs-on: ubuntu-latest | |
container: | |
image: python:3.12-slim | |
ports: | |
- "80" | |
volumes: | |
- ./:/app | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Unit tests in python 3.12 | |
run: python3 -m unittest discover ./tests | |