Merge dev into main branch #16
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: Online Competition | |
on: | |
push: | |
branches: | |
- master | |
- main | |
workflow_dispatch: | |
jobs: | |
online-competition: | |
runs-on: ubuntu-latest | |
env: # Or as an environment variable | |
KAGGLE_USERNAME: ${{ secrets.KaggleUsername }} | |
KAGGLE_KEY: ${{ secrets.KaggleKey }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
micromamba-version: '1.5.6-0' # any version from https://github.com/mamba-org/micromamba-releases | |
environment-file: environment.yaml | |
init-shell: >- | |
bash | |
cache-environment: true | |
post-cleanup: 'all' | |
- name: Install cffirmware | |
run: | | |
git clone https://github.com/utiasDSL/pycffirmware.git | |
cd pycffirmware | |
git submodule update --init --recursive | |
./wrapper/build_linux.sh | |
- name: Install stable baselines | |
run: pip install stable-baselines3 | |
shell: bash -el {0} | |
- name: Install stable baselines | |
run: pip install stable-baselines3 | |
shell: bash -el {0} | |
- run: pip install . | |
shell: bash -el {0} | |
- name: Run simulation tests | |
run: python scripts/kaggle.py | |
shell: bash -el {0} | |
- name: Export with kaggle | |
run: kaggle competitions submit lsy-drone-racing-ss24 -f submission.csv -m "Automated submission" | |
shell: bash -el {0} | |