Skip to content

Commit

Permalink
Merge pull request #28 from Eve-ning/integrate-osu-data
Browse files Browse the repository at this point in the history
Integrate osu!Data on Docker
  • Loading branch information
Eve-ning authored Aug 23, 2023
2 parents f5609bd + 29b31c4 commit 98bfd94
Show file tree
Hide file tree
Showing 59 changed files with 874 additions and 6,030 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
# This workflow will build opal, install its build, then runs the tests with pytest.


name: Test Model Inference

Expand All @@ -17,12 +17,6 @@ jobs:

steps:
- uses: actions/checkout@v3
# with:
# submodules: 'true'

- name: Remove current project source
run: |
rm -rf opal/

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
Expand All @@ -32,8 +26,21 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
pip install opal-net
python -m pip install pytest
- name: Build opal with Docker
working-directory: src/build/
run: |
docker compose up --build
- name: Install opal build
working-directory: src/
run: |
python -m pip install dist/*.whl
- name: Remove local opal
run: |
rm -rf src/opal/
- name: Test with pytest
run: |
Expand Down
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ data/

.run/
__pycache__/
dist/
dist/

src/datasets
events.out.tfevents.*
hparams.yaml
*.ckpt
!model.ckpt
#*.csv
#!src/models/**/*
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/preprocess/tmp/osu-data-docker"]
path = src/preprocess/osu-data-docker/
url = https://github.com/Eve-ning/osu-data-docker
3 changes: 0 additions & 3 deletions opal/conf/__init__.py

This file was deleted.

9 changes: 0 additions & 9 deletions opal/conf/conf.py

This file was deleted.

29 changes: 0 additions & 29 deletions opal/conf/mods.py

This file was deleted.

3 changes: 0 additions & 3 deletions opal/datamodule/__init__.py

This file was deleted.

239 changes: 0 additions & 239 deletions opal/datamodule/db_io.py

This file was deleted.

Loading

0 comments on commit 98bfd94

Please sign in to comment.