Skip to content

Commit

Permalink
yet another attempt to get github actions working
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Mar 29, 2022
1 parent d86c0b7 commit 1e9744b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@

name: Emborg
on: [push, pull_request]
env:
MISSING_DEPENDENCIES: borg1.2
jobs:
check-bats-version:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
max-parallel: 4
max-parallel: 5

steps:
- uses: actions/checkout@v2
Expand All @@ -33,7 +31,6 @@ jobs:
pip install coveralls
- name: Run tests
run: |
echo $MISSING_DEPENDENCIES
tox
- name: Report test coverage
env:
Expand Down
4 changes: 0 additions & 4 deletions tests/test_emborg.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,8 @@ def test_emborg_without_configs(
initialize,
name, args, expected, expected_type, cmp_dirs, remove, dependencies
):
print(f"MISSING_DEPENDENCIES = {', '.join(missing_dependencies)}")
print(f"Test dependencies = {', '.join(dependencies)}")
if skip_test(dependencies):
print(f"Skipping test {name}")
return
print(f"Running test {name}")
with cd(tests_dir):
tester = EmborgTester(args, expected, expected_type, cmp_dirs, remove)
passes = tester.run()
Expand Down

0 comments on commit 1e9744b

Please sign in to comment.