Skip to content

Commit 9b2837f

Browse files
committed
skip test, publish only when creating release
1 parent 76571b9 commit 9b2837f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Build and Publish
22

3-
on: # TODO: should only trigger when intending to create a release (eg tag in commit)
4-
push:
5-
branches: [ dev/jan ] # for testing only currently
3+
on:
4+
release:
5+
types:
6+
- created
67

78
jobs:
89
publish:

tests/test_gym_env_wrapper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import unittest
2+
import pytest
23

34
import sys
45
# insert at 1, 0 is the script path (or '' in REPL)
@@ -208,6 +209,7 @@ def test_discrete_irr_features(self):
208209
print("total_reward:", total_reward)
209210
aew.reset()
210211

212+
@pytest.mark.skip(reason="Cannot run mojoco in CI/CD currently.")
211213
def test_cont_irr_features(self):
212214
'''
213215
'''

0 commit comments

Comments
 (0)