From 9b7bbbfff27903fd9e71eecdfae80a5698b4a52c Mon Sep 17 00:00:00 2001 From: Matthew Bourque Date: Thu, 11 Jul 2024 10:17:46 -0600 Subject: [PATCH 1/3] Initial commit of GitHub Actions workflow --- .github/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..3d64b29 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,27 @@ +name: Tests + +on: + pull_request: + types: [opened, reopened, edited] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + python-version: ['3.9', '3.10', '3.11'] + defaults: + run: + shell: bash + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - uses: Gr1N/setup-poetry@v8 + - name: Install dependencies and app + run: | + poetry install From 1e516f7e3f198e25b27ce7cb2d55d4f5fc636fed Mon Sep 17 00:00:00 2001 From: Matthew Bourque Date: Thu, 11 Jul 2024 10:21:45 -0600 Subject: [PATCH 2/3] Updated name of the workflow --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3d64b29..80dce97 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: Tests +name: Dependency Check on: pull_request: From 1a3cee81b654aecd732fda37f5e7cf7a87ed145c Mon Sep 17 00:00:00 2001 From: Matthew Bourque Date: Thu, 11 Jul 2024 10:23:23 -0600 Subject: [PATCH 3/3] Now triggering workflow on PR synchronization --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80dce97..53763f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: Dependency Check on: pull_request: - types: [opened, reopened, edited] + types: [opened, synchronize, edited] jobs: build: