Skip to content

Commit

Permalink
Merge pull request #351 from ShahradR/fix/pyyaml-version
Browse files Browse the repository at this point in the history
Resolve pyyaml build issues
  • Loading branch information
ShahradR authored Dec 30, 2024
2 parents 3f06df5 + bfce1af commit 7ebc700
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Invoke "taskcat test run"
uses: ./
with:
commands: test run --project-root ./e2e/resources/default
commands: test run --lint-disable --project-root ./e2e/resources/default

e2e-update:
name: End-to-end tests - update taskcat
Expand All @@ -90,7 +90,7 @@ jobs:
- name: Invoke "taskcat test run"
uses: ./
with:
commands: test run --project-root ./e2e/resources/default
commands: test run --lint-disable --project-root ./e2e/resources/default
update_taskcat: true

e2e-lint-update:
Expand All @@ -108,7 +108,7 @@ jobs:
- name: Invoke "taskcat test run"
uses: ./
with:
commands: test run --project-root ./e2e/resources/default
commands: test run --lint-disable --project-root ./e2e/resources/default
update_taskcat: true
update_cfn_lint: true

Expand All @@ -127,7 +127,7 @@ jobs:
- name: Invoke "taskcat test run"
uses: ShahradR/action-taskcat@v1
with:
commands: test run --project-root ./e2e/resources/default
commands: test run --lint-disable --project-root ./e2e/resources/default

e2e-v1-update:
name: End-to-end tests - @v1 - update taskcat
Expand All @@ -141,7 +141,7 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ca-central-1
- name: Invoke "taskcat test run"
- name: Invoke "taskcat test run --lint-disable"
uses: ShahradR/action-taskcat@v1
with:
commands: test run --project-root ./e2e/resources/default
Expand All @@ -159,7 +159,7 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ca-central-1
- name: Invoke "taskcat test run"
- name: Invoke "taskcat test run --lint-disable"
uses: ShahradR/action-taskcat@v1
with:
commands: test run --project-root ./e2e/resources/default
Expand All @@ -178,7 +178,7 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ca-central-1
- name: Invoke "taskcat test run"
- name: Invoke "taskcat test run --lint-disable"
uses: ShahradR/action-taskcat@v2
with:
commands: test run --project-root ./e2e/resources/default
Expand All @@ -195,7 +195,7 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ca-central-1
- name: Invoke "taskcat test run"
- name: Invoke "taskcat test run --lint-disable"
uses: ShahradR/action-taskcat@v2
with:
commands: test run --project-root ./e2e/resources/default
Expand All @@ -213,7 +213,7 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ca-central-1
- name: Invoke "taskcat test run"
- name: Invoke "taskcat test run --lint-disable"
uses: ShahradR/action-taskcat@v2
with:
commands: test run --project-root ./e2e/resources/default
Expand All @@ -225,7 +225,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: errata-ai/vale-action@v1.5.0
- uses: errata-ai/vale-action@v2.1.1
with:
debug: true
files: '[ "README.md", "vale/README.md", "src/", "e2e/", "docs/", "__tests__/" ]'
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM python:3.8.13-alpine3.15

RUN apk add --no-cache python3-dev~3.9 gcc~10 libc-dev~0.7 nodejs~16 npm~8 && rm -rf /var/cache/apk/*
RUN apk add --no-cache git python3-dev~3.9 gcc~10 libc-dev~0.7 nodejs~16 npm~8 && rm -rf /var/cache/apk/*

RUN pip3 install taskcat==0.9.23 --upgrade
RUN pip3 install --upgrade pip && \
pip3 install "Cython<3.0" "pyyaml<6" --no-build-isolation && \
pip3 install taskcat==0.9.55 --upgrade

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
Expand Down
3 changes: 2 additions & 1 deletion e2e/resources/action-taskcat.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable jest/no-disabled-tests */
import cp from "child_process";

describe("integration tests", () => {
describe.skip("integration tests", () => {
describe("when the AWS credentials are available", () => {
it("creates a CloudFormation stack", () => {
expect.assertions(3);
Expand Down

0 comments on commit 7ebc700

Please sign in to comment.