Skip to content

Commit

Permalink
fix: minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Okabe-Junya committed Apr 24, 2024
1 parent 9f56323 commit ac3db3d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
name: Testing

on: [push, pull_request]

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
name: Test / Unit Test
strategy:
matrix:
os:
- "ubuntu-22.04"
- "ubuntu-latest"
python:
- "3.8"

runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -49,4 +47,4 @@ jobs:
poetry build && poetry run python setup.py install
- name: Run test
run: xvfb-run python -m unittest tests/test_render.py
run: xvfb-run poetry run python -m unittest tests/test_render.py
1 change: 0 additions & 1 deletion tests/test_render.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from unittest import TestCase

import evogym.envs
import gym
from evogym import sample_robot

Expand Down

0 comments on commit ac3db3d

Please # to comment.