diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fce2e28..47abbe8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,17 +2,6 @@ name: Tests on: workflow_dispatch: - push: - branches: - - main - - dev - - 'mori/**' - paths: - - 'core/**' - - 'CMakeLists.txt' - - 'nipovpn/etc/nipovpn/config.yaml' - - 'tests/**' - - '.github/workflows/test.yml' pull_request: branches: - main @@ -28,7 +17,7 @@ permissions: contents: read concurrency: - group: tests-${{ github.ref }} + group: tests-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: diff --git a/.gitignore b/.gitignore index ac528bf..0795dc2 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,6 @@ test .git *.deb *.tar.gz -*.log \ No newline at end of file +*.log +__pycache__/ +*.pyc diff --git a/tests/__pycache__/e2e.cpython-314.pyc b/tests/__pycache__/e2e.cpython-314.pyc deleted file mode 100644 index 3cdc012..0000000 Binary files a/tests/__pycache__/e2e.cpython-314.pyc and /dev/null differ