Merge lgan-com into swei-dev, resolved conflicts #14
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: Python Unit Tests | |
on: | |
push: | |
branches: [ "**" ] | |
pull_request: | |
branches: [ "**" ] | |
permissions: | |
contents: read | |
jobs: | |
build-and-test: | |
name: "Build & Test Python" | |
runs-on: ubuntu-latest | |
timeout-minutes: 180 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
# this might remove tools that are actually needed, | |
# if set to "true" but frees about 6 GB | |
tool-cache: false | |
# all of these default to true, but feel free to set to | |
# "false" if necessary for your workflow | |
android: true | |
dotnet: true | |
haskell: true | |
large-packages: true | |
docker-images: true | |
swap-storage: true | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Install the package | |
run: | | |
python -m pip install . | |
- name: Import URDF files | |
uses: snickerbockers/submodules-init@v4 | |
# - name: Test with unittest | |
# run: | | |
# export MIHGNN_UNITTEST_SKIP_GITHUB_ACTION_CRASHERS=True | |
# python -m unittest discover tests/ -v |