Merge pull request #75 from Fred-Fan/main #154
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
# This workflow runs the typescript implementation unit tests | |
name: tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: {} | |
jobs: | |
build-37: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run unit tests | |
run: docker build . --target=test --build-arg PYTHON_VERSION=${PYTHON_VERSION} | |
env: | |
PYTHON_VERSION: "3.7" | |
build-38: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run unit tests | |
run: docker build . --target=test --build-arg PYTHON_VERSION=${PYTHON_VERSION} | |
env: | |
PYTHON_VERSION: "3.8" | |
build-39: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run unit tests | |
run: docker build . --target=test --build-arg PYTHON_VERSION=${PYTHON_VERSION} | |
env: | |
PYTHON_VERSION: "3.9" | |
build-310: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run unit tests | |
run: docker build . --target=test --build-arg PYTHON_VERSION=${PYTHON_VERSION} | |
env: | |
PYTHON_VERSION: "3.10" |