From fe54e84741bd388c2f04d636e22232dccf361386 Mon Sep 17 00:00:00 2001 From: Kye Date: Mon, 23 Oct 2023 14:31:49 -0400 Subject: [PATCH] workflows --- .github/workflows/code_quality_control.yml | 2 +- .github/workflows/cos_integration.yml | 2 +- .github/workflows/pr_request_checks.yml | 2 +- .github/workflows/quality.yml | 6 +++--- .github/workflows/run_test.yml | 2 +- .github/workflows/testing.yml | 2 +- .github/workflows/unit-test.yml | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/code_quality_control.yml b/.github/workflows/code_quality_control.yml index 4b94b454..f5c741c8 100644 --- a/.github/workflows/code_quality_control.yml +++ b/.github/workflows/code_quality_control.yml @@ -3,7 +3,7 @@ name: Linting and Formatting on: push: branches: - - main + - master jobs: lint_and_format: diff --git a/.github/workflows/cos_integration.yml b/.github/workflows/cos_integration.yml index abae70b2..7cdb41e9 100644 --- a/.github/workflows/cos_integration.yml +++ b/.github/workflows/cos_integration.yml @@ -3,7 +3,7 @@ name: Continuous Integration on: push: branches: - - main + - master jobs: test: diff --git a/.github/workflows/pr_request_checks.yml b/.github/workflows/pr_request_checks.yml index dccdb9e2..1d176346 100644 --- a/.github/workflows/pr_request_checks.yml +++ b/.github/workflows/pr_request_checks.yml @@ -23,5 +23,5 @@ jobs: - name: Run tests and checks run: | - pytest tests/ + find tests/ -name "*.py" | xargs pytest pylint swarms \ No newline at end of file diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 5e893380..9b09cfa9 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -2,9 +2,9 @@ name: Quality on: push: - branches: [ "main" ] + branches: [ "master" ] pull_request: - branches: [ "main" ] + branches: [ "master" ] jobs: lint: @@ -20,4 +20,4 @@ jobs: uses: ./.github/actions/init-environment - name: Run linter run: | - pylint `git diff --name-only --diff-filter=d origin/main HEAD | grep -E '\.py$' | tr '\n' ' '` \ No newline at end of file + pylint `git diff --name-only --diff-filter=d origin/master HEAD | grep -E '\.py$' | tr '\n' ' '` \ No newline at end of file diff --git a/.github/workflows/run_test.yml b/.github/workflows/run_test.yml index 03726b64..172dc64b 100644 --- a/.github/workflows/run_test.yml +++ b/.github/workflows/run_test.yml @@ -20,4 +20,4 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Run tests with pytest run: | - pytest tests/ + find tests/ -name "*.py" | xargs pytest diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index d6a40768..099d3054 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -22,4 +22,4 @@ jobs: run: pip install -r requirements.txt - name: Run unit tests - run: pytest tests/ \ No newline at end of file + run: find tests/ -name "*.py" | xargs pytest \ No newline at end of file diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 6a0a6481..42ac2271 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -30,4 +30,4 @@ jobs: run: docker build . --file Dockerfile - name: Verify integration test results - run: python3 -m unittest tests/ + run: find tests/ -name "*.py" | xargs pytest