Skip to content

Commit

Permalink
Running tests without Docker GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaszanas committed Aug 21, 2024
1 parent 924b885 commit 1b70c7a
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,23 @@ jobs:

# Installing only development dependencies (for pre-commit)
- name: Install development dependencies
run: poetry install --with dev
run: poetry install --only dev

- name: Initialize pre-commit
run: poetry run pre-commit install
- name: Run pre-commit on all files.
run: poetry run pre-commit run --all-files

- name: Build Docker Image With Compose
run: |
make action_compose_build
- name: Run tests
run: poetry run pytest --ignore-glob='test_*.py' ./tests/test_cases/ --cov=sc2_datasets --cov-report term-missing --cov-report html --cov=xml 2>&1

- name: Run Docker Tests With Compose
run: |
make action_compose_test
# - name: Build Docker Image With Compose
# run: |
# make action_compose_build

# - name: Run Docker Tests With Compose
# run: |
# make action_compose_test

# TODO: This may be ran in docker:
# See if the documentation builds correctly:
Expand Down

0 comments on commit 1b70c7a

Please sign in to comment.