Giter Club home page Giter Club logo

Comments (5)

SignpostMarv avatar SignpostMarv commented on June 26, 2024 1

Given that the issue is docker-specific and it's solved by lazily mapping ./.build/psalm onto ~/.cache/psalm, I'm going to consider this a non-issue now :D

ty for the assistance :)

from codeception-psalm-module.

weirdan avatar weirdan commented on June 26, 2024

Running codecept -vvv other args here should provide more information on what's going on.

from codeception-psalm-module.

SignpostMarv avatar SignpostMarv commented on June 26, 2024

have found the issue;

the codecept Module isn't using the project's xml config so the default cache path attempts to get used, which isn't mounted in the docker image.

@weirdan would there be any issue with defaulting codecept to run with --no-cache specified unless instructed not to?

from codeception-psalm-module.

SignpostMarv avatar SignpostMarv commented on June 26, 2024

note: the workaround for this issue appears to be using --volume=$(shell pwd)/.build/psalm:${HOME}/.cache/psalm

from codeception-psalm-module.

weirdan avatar weirdan commented on June 26, 2024

would there be any issue with defaulting codecept to run with --no-cache specified unless instructed not to?

I think it would conflict with the I have the following psalm config feature. But you can use this very feature to override psalm's cache directory (see below). You can stick that into the Background section, so you don't have to repeat it for every case.

Scenario: Running Psalm with custom config
Given I have the following config
"""
<?xml version="1.0"?>
<psalm errorLevel="1">
<projectFiles>
<directory name="."/>
</projectFiles>
<issueHandlers>
<InvalidScalarArgument errorLevel="suppress"/>
</issueHandlers>
</psalm>
"""

from codeception-psalm-module.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.